On Wed 19 Jan 2011 20:40, Hans Aberg <haber...@telia.com> writes:

> The code below causes Guile 1.9.14.68-a7d8a to crash (segmentation fault
> after awhile), on Mac OS X 10.5.8 PPC G4.
>
>
> (defmacro call (f g)
>     `(apply ,g (,f)))
>
> (call (lambda () (values 4 5))
>   (lambda (a b) b))

Good catch!  It was an error in the error handling.  Fixed in git.  The
message is now:

<unnamed port>:2:1: In procedure apply:
<unnamed port>:2:1: Apply to non-list: 4

Cheers,

Andy
-- 
http://wingolog.org/

Reply via email to