cyclone/test.scm
2015-02-27 22:44:06 -05:00

10 lines
321 B
Scheme

;; Temporary testing, delete this once it works
(define (call fn a)
(fn a))
(call write 'hello)
;; Demonstrate sending an interpreted function to compiled code
;; I think in order for this to work, the compiled code would have to
;; detect an interpreted proc, and use eval to execute it
(eval '(call (lambda (x) x)))