[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define and set! with multiple-values
- To: Jonathan Bachrach <Jonathan.Bachrach@ircam.fr>
- Subject: Re: define and set! with multiple-values
- From: Scott_Fahlman@SEF-PMAX.SLISP.CS.CMU.EDU
- Date: Thu, 31 Dec 92 11:39:55 EST
- Cc: info-dylan@CAMBRIDGE.APPLE.COM
- In-reply-to: Your message of Thu, 31 Dec 92 16:37:35 +0100. <199212311537.AA09127@miles.ircam.fr>
I propose to extend `set!' and `define' to allow accomodate
multiple-values.
Can you give some exaples showing how these new forms would improve the
expressiveness or clarity of a program? Or are you just proposing these
for the sake of symmetry? That's a slippery slope...
I rather like the current scheme in which the curse of multiple values is
confined to a single form, BIND. In fact, I'd like to find some way to
eliminate Common-Lisp-like multiple values from DYLAN altogether. There
must be some better way to pass back possibly useful but rarely used extra
information from a function to its caller.
-- Scott