guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (define ((f a) b) ...)


From: Andy Wingo
Subject: Re: (define ((f a) b) ...)
Date: Thu, 21 Jan 2010 13:58:53 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Hi Thien-Thi,

On Tue 19 Jan 2010 08:15, Thien-Thi Nguyen <address@hidden> writes:

> In Guile 1.9 NEWS:
>
>   ** The currying behavior of `define' has been removed.
>   
>   Before, `(define ((f a) b) (* a b))' would translate to
>   
>     (define f (lambda (a) (lambda (b) (* a b))))
>   
>   Now a syntax error is signaled, as this syntax is not supported
>   by default.  If there is sufficient demand, this syntax can be
>   supported again by default.
>
> +1 for re-instating it, or for adding to NEWS some hint on how to
> re-enable support (i take it "not supported by default" means it
> is supported with some configuration/switch).

Actually support for it was removed entirely. That might have been
appropriate at that point in guile-vm development, but we should
definitely re-add support, via a module.

I'll put it on my list.

Andy
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]