Hello! I'm having some trouble with the following program: (define-syntax kons (syntax-rules () ((_ a b) (cons a b))))
(display (kons 1 '(2 3))) (newline) (display (eval '(kons 1 '(2 3)))) (newline) (It's a contrived example but gets to whats going on haha) When run with csi everything works fine, but when compiled and then run, 'eval' throws an unbound variable error I may be missing something but is there a way to let 'eval' find syntax that has been defined? I'm also having a similar issue with 'use'ing a module and 'eval' not being able to find procedures defined in that module
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users