guile-user
[Top][All Lists]
Advanced

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

(define ((f a) b) ...)


From: Thien-Thi Nguyen
Subject: (define ((f a) b) ...)
Date: Tue, 19 Jan 2010 15:15:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

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).

This is used by Guile-WWW (which barring this, is ready for a
fresh "tested with Guile 1.9.x" sticker, and release), and ttn-do,
and probably other stuff i maintain, as well.

thi




reply via email to

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