[Larceny-users] error compiling cons form
Felix Klock
felixluser at pnkfx.org
Fri Dec 26 15:03:54 EST 2008
Marco (cc'ing larceny-users)-
On Dec 26, 2008, at 2:45 PM, Marco Maggi wrote:
> The problem goes away if I do:
>
> (define-syntax defer-exceptions
> (syntax-rules ()
> ((_ ?form0 ?form ...)
> (guard (exc (else
> (let ((e (deferred-exceptions)))
> (and e (deferred-exceptions (cons exc e))))))
> ?form0 ?form ...))))
>
I'm trying to reproduce your problem on a smaller test case (by taking
snippets from the source code at http://github.com/marcomaggi/nausicaa/tree/master/uriel/libraries/uriel/lang.sls
), but so far have failed to reproduce the compiler error.
Does the problem also go away if you get rid of the invocations of the
defer-exceptions macro? Is there a particular invocation that the
problem is strongly tied to? (I just want to confirm that this is a
problem dealing with the results of expansion, as opposed to the
definition of the defer-exceptions macro itself.)
-Felix
More information about the Larceny-users
mailing list