Here's a code I'm having trouble with when sent into Geiser repl: > #lang racket > > (define-syntax-rule (run-command body) > (begin > body)) > > (define-syntax-rule (command shell-version body) > (begin > (printf "~a\n" shell-version) > (run-command body))) > > (command "echo 'hello'" (display "hello"))
When loaded into Geiser repl with C-c C-a produces nothing, but should produce: > echo 'hello' > hello Trying to invoke the form in repl by saying (command "foo" any) results in: > command: undefined; > cannot reference an identifier before its definition Works in DrRacket. Any idea, what the problem is here? --- Vlad Kozin <vladilen.ko...@gmail.com>