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. His definition of give-two called `list', and Guile doesn't support multiple return values nicely yet, so I wanted to address the issue.