Re: [Chicken-users] how the second argument to ERROR is handled

2019-07-21 Thread megane
Peter Bex writes: > On Sun, Jul 21, 2019 at 09:03:33AM +0200, Marco Maggi wrote: >> Ciao, >> >> with CHICKEN 5.1.0, is the following correct: >> >> (import (scheme) (chicken base) (chicken condition)) >> >> (call/cc >> (lambda (escape) >>

Re: [Chicken-users] how the second argument to ERROR is handled

2019-07-21 Thread Peter Bex
On Sun, Jul 21, 2019 at 09:03:33AM +0200, Marco Maggi wrote: > Ciao, > > with CHICKEN 5.1.0, is the following correct: > > (import (scheme) (chicken base) (chicken condition)) > > (call/cc > (lambda (escape) > (with-exception-handler > (lambda

[Chicken-users] how the second argument to ERROR is handled

2019-07-21 Thread Marco Maggi
Ciao, with CHICKEN 5.1.0, is the following correct: (import (scheme) (chicken base) (chicken condition)) (call/cc (lambda (escape) (with-exception-handler (lambda (E) (escape (list (get-condition-property E 'exn 'location)