On Mon 11 Jan 2010 03:48, Patrick McCarty <pnor...@gmail.com> writes:

> With Guile 1.8.7, this code is valid:
>
>   guile> (use-modules (ice-9 optargs))
>   guile> (define* a 1)
>   guile> a
>   1

Interesting, I wasn't aware of this. 

> But with git, I get the following:
>
>   scheme@(guile-user)> (define* a 1)
>   Throw to key `syntax-error':
>   ERROR: In procedure sc-expand:
>   ERROR: source expression failed to match any pattern in (define* a 1)
>
>
> Is this an intentional change of behavior in Guile, or is it a bug?

Nope, just a bug, and now fixed.

Thanks for the report!

Andy
-- 
http://wingolog.org/


Reply via email to