[gambit-list] macro tricks
lowly coder
lowlycoder at huoyanjinjing.com
Thu Aug 13 07:22:30 EDT 2009
it looks like the stuff in lib/_eval.scm , especially with ##eval and
the ##*cte* stuff seems like it might work; but I can't quite get it;
anyone have experience?
On Thu, Aug 13, 2009 at 4:09 AM, lowly
coder<lowlycoder at huoyanjinjing.com> wrote:
> (define-macro (foo)
> (define x 20)
> (define (magic-func var-name)
> ...)
>
> (pp (magic-func 'x)))
>
> (foo)
>
>
> Is there anyway I can define magic-func so that 20 is outputted?
>
More information about the Gambit-list
mailing list