[Larceny-users] error compiling cons form

Felix Klock felixluser at pnkfx.org
Fri Dec 26 15:08:58 EST 2008


On Dec 26, 2008, at 3:03 PM, Felix Klock wrote:

> 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.

Never mind, I managed to reproduce the problem on a small test case.

I'll be filing a ticket about this shortly.

-Felix




More information about the Larceny-users mailing list