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

lowly coder lowlycoder at huoyanjinjing.com
Fri May 15 14:15:57 EDT 2009


For those unaware, ~~/lib/modules/build is referring to the blackhole module
system.

On Fri, May 15, 2009 at 8:05 AM, lowly coder
<lowlycoder at huoyanjinjing.com>wrote:

> ~/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://webmail.iro.umontreal.ca/pipermail/gambit-list/attachments/20090515/8682d5fa/attachment.html 


More information about the Gambit-list mailing list