mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-06 04:36:36 +02:00
Issue #207 - Added comments
This commit is contained in:
parent
67ca9edbec
commit
e8aa42e247
1 changed files with 2 additions and 1 deletions
|
@ -718,9 +718,10 @@
|
||||||
(cons
|
(cons
|
||||||
fnc
|
fnc
|
||||||
(map (lambda (e) (opt:contract e)) (cdr exp)))))
|
(map (lambda (e) (opt:contract e)) (cdr exp)))))
|
||||||
|
;; Perform constant folding if possible
|
||||||
(if (and (prim-call? exp)
|
(if (and (prim-call? exp)
|
||||||
(precompute-prim-app? result))
|
(precompute-prim-app? result))
|
||||||
(with-handler
|
(with-handler ;; Safety check, keep going if eval fails
|
||||||
(lambda (err) result)
|
(lambda (err) result)
|
||||||
(eval result *contract-env*))
|
(eval result *contract-env*))
|
||||||
result))
|
result))
|
||||||
|
|
Loading…
Add table
Reference in a new issue