This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Jim Blandy <jimb@red-bean.com> writes: > >(multi-let (((a b) (give-two))) > > (display a) ; => 5 > > (display b) ; => 7 > > ) > > I think this is usually called a pattern-matching let. Multiple > return values are not lists. Hmm... I don't see why the above syntax necessarily should involve lists. It's just a matter of deciding what it means. I think Dylan had some similar syntax, although perhaps more similar to (let ((a b (give-two)) ...)) /mdj