[gambit-list] a black hole ate up my macros

lowly coder lowlycoder at huoyanjinjing.com
Fri May 15 11:05:41 EDT 2009


~/testing$ cat test.scm
(define-macro (foo x) `(list ,x ,x))
~/testing$ gsc
Gambit v4.4.2

> (include "test.scm")
> (foo 2)
(2 2)
>
*** EOF again to exit
~/testing$ gsc -:dar -e '(load "~~/lib/modules/build")' -
> (include "test.scm")
> (foo 2)
*** ERROR IN (console)@2.2 -- Unbound variable: ~#foo
1>
> (define-macro (foo x) `(list ,x ,x))
> (foo 2)
(2 2)
>
*** EOF again to exit
~/testing$


okay ... so under gsc, my macro works
under bsc, it does not
yet if I manually type it into bsc, it works

what's going on here? :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090515/3a9d6fb9/attachment.htm>


More information about the Gambit-list mailing list