Related articles |
---|
Multiple return values Arthur.Chance@Smallworld.co.uk (1997-04-16) |
Re: Multiple return values WStreett@shell.monmouth.com.spamguard (1997-04-18) |
Re: Multiple return values smryan@mail.com (1997-04-18) |
Re: Multiple return values icedancer@ibm.net (1997-04-18) |
Re: Multiple return values hbaker@netcom.com (1997-04-18) |
Re: Multiple return values fjh@mundook.cs.mu.OZ.AU (1997-04-18) |
Re: Multiple return values (Mars Saxman) marssaxman%sprynet.com.antispam@nac (marssaxman) (1997-04-18) |
[29 later articles] |
From: | Arthur.Chance@Smallworld.co.uk (Arthur Chance) |
Newsgroups: | comp.compilers,comp.lang.misc |
Date: | 16 Apr 1997 00:29:01 -0400 |
Organization: | Smallworldwide plc |
Keywords: | design, question |
A thought struck me over the weekend while rereading the "Lambda: the
Ultimate <foo>" papers:
Most programming languages allow procedures with multiple arguments
(in some cases allowing them to be used in curried form as well), but
very few languages allow multiple return values, in spite of the fact
that multiple results *are* multiple arguments when you're wearing
CPS-tinted glasses. Why is this?
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.