[Larceny-users] error compiling cons form

2008-12-26 Thread Marco Maggi
On a i686-pc-linux-gnu running larceny-5877 compiled with: (setup 'scheme: 'larceny 'host: 'linux86 'sassy 'string-rep: 'flat4) I COMPILE-LIBRARY file with this chunk of code: (define deferred-exceptions (make-parameter #f)) (define-syntax defer-exceptions (syntax-rules ()

Re: [Larceny-users] error compiling cons form

2008-12-26 Thread Marco Maggi
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 ... Marco Maggi wrote: I

Re: [Larceny-users] error compiling cons form

2008-12-26 Thread Felix Klock
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

Re: [Larceny-users] error compiling cons form

2008-12-26 Thread Felix Klock
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

Re: [Larceny-users] error compiling cons form

2008-12-26 Thread Felix Klock
Marco (cc'ing larceny-users)- On Dec 26, 2008, at 3:08 PM, Felix Klock wrote: I'll be filing a ticket about this shortly. If you want to follow progress on this, I filed it as ticket #600 : https://trac.ccs.neu.edu/trac/larceny/ticket/600 I will spend a bit more time trying to reduce it a

Re: [Larceny-users] error compiling cons form

2008-12-26 Thread Felix Klock
Marco (cc'ing larceny-users)- On Dec 26, 2008, at 2:45 PM, Marco Maggi wrote: Marco Maggi wrote: I really, really, really do not want to know why compiling CONS does this, just tell me if it is a bug in the compiler and I have to wait for a fix. Sorry for the whining. :) It is a bug in

Re: [Larceny-users] error compiling cons form

2008-12-26 Thread William D Clinger
Ticket #600 is fixed as of changeset:5880. I didn't realize that Felix was working on the problem, so I tracked it down independently. Will ___ Larceny-users mailing list Larceny-users@lists.ccs.neu.edu