mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-17 17:57:34 +02:00
Cleanup, get this to compile again
This commit is contained in:
parent
dd98c7cd79
commit
32848ee5c9
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
(import (scheme base) (scheme write) (scheme eval))
|
||||||
;; This is a temporary test file, move everything to a test suite and/or docs once it works!
|
;; This is a temporary test file, move everything to a test suite and/or docs once it works!
|
||||||
|
|
||||||
;
|
;
|
||||||
|
@ -85,7 +86,7 @@
|
||||||
;((lambda (tmp)
|
;((lambda (tmp)
|
||||||
; (write (eval 'tmp))) #f)
|
; (write (eval 'tmp))) #f)
|
||||||
(write (list 'after-eval 'x x 'y y '*z* *z*))
|
(write (list 'after-eval 'x x 'y y '*z* *z*))
|
||||||
x ;; oh shit, need to reference x/y otherwise they get optimized out!
|
;x ;; oh shit, need to reference x/y otherwise they get optimized out!
|
||||||
|
|
||||||
;; case #2 - pass a local (IE, lambda var)
|
;; case #2 - pass a local (IE, lambda var)
|
||||||
;; No, this is not allowed, see: http://stackoverflow.com/questions/3844196/how-can-i-use-external-variables-in-eval-in-scheme/3851284#3851284
|
;; No, this is not allowed, see: http://stackoverflow.com/questions/3844196/how-can-i-use-external-variables-in-eval-in-scheme/3851284#3851284
|
||||||
|
|
Loading…
Add table
Reference in a new issue