Re: using compensations stacks with Guile

2007-05-02 Thread Marco Maggi
"Ludovic Courts" wrote: > I haven't read the paper you mention there but that > looks very similar to what `dynamic-wind' does. [...] 3. 'with-compensations' does not invoke the compensation closures: it can be used in object constructors, when it is required to free only if constructi

Re: using compensations stacks with Guile

2007-05-02 Thread Marco Maggi
"Ludovic Courts" wrote: > I haven't read the paper you mention there but that > looks very similar to what `dynamic-wind' does. There are differences between using 'with-compensations' and using 'dynamic-wind' with alloc forms in the in-guard and the free forms in the out-guard: 1. 'dynamic-wind'

Re: using compensations stacks with Guile

2007-05-02 Thread Marco Maggi
"Alan Grover" wrote: > I noticed "the compensation closures are wrapped in > false-if-exception: this causes errors to be ignored > and all the closures to be evaluated." Could you revise > this to signal the exception? Silently consumption of > an exception is very frustrating, and surprising. I

Re: using compensations stacks with Guile

2007-05-02 Thread Ludovic Courtès
Hi, "Marco Maggi" <[EMAIL PROTECTED]> writes: > I would appreciate if someone can find 5 mins to read: > > > > and signal to me if there are obvious errors in the > implementation. I haven't read the paper you mention there but that looks v

using compensations stacks with Guile

2007-05-02 Thread Marco Maggi
Ciao, I would appreciate if someone can find 5 mins to read: and signal to me if there are obvious errors in the implementation. TIA. -- Marco Maggi "They say jump!, you say how high?" Rage Against the Machine - "Bullet in the Head" _