On Nov 19, 2009, at 5:41 PM, Neil Jerram wrote:
Alternatively, assuming that it is safe to do so - i.e. that there are
no possible side-effects from reading - you could just read and
process
the script. Something like:
(with-input-from-file FILENAME
(lambda ()
(let loop ((x (read)) (defs
Andy Wingo writes:
> On Mon 16 Nov 2009 23:16, Neil Jerram writes:
>
>> It seems that when run under the VM, (thunk? thunk) => #f.
>
> Ugly. Thanks for debugging this, Neil.
I now have it down to this: a program compiled inside the RHS of a
define-syntax form apparently has no meta; whereas the
Richard Shann writes:
> Thanks for this: the only problem might be that it is the top-level
> definitions in Denemo's initialization script that I want to list. I
> haven't created a module for it (I wouldn't know how! But as it is very
> much an end user, I suppose there is no need).
> I tried '
Thanks for this: the only problem might be that it is the top-level
definitions in Denemo's initialization script that I want to list. I
haven't created a module for it (I wouldn't know how! But as it is very
much an end user, I suppose there is no need).
I tried '(current-module) where you have '(