[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change of behavior for `define*'?
From: |
Andy Wingo |
Subject: |
Re: Change of behavior for `define*'? |
Date: |
Mon, 11 Jan 2010 22:08:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
On Mon 11 Jan 2010 03:48, Patrick McCarty <address@hidden> 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/