Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!rex!ukma!usenet.ins.cwru.edu!eagle!data.nas.nasa.gov!data!gumby From: gumby@Cygnus.COM (David V. Wallace) Newsgroups: comp.lang.scheme Subject: Multiple return values Message-ID: Date: 4 Apr 91 21:22:28 GMT References: <9104042101.AA28583@kuwait> Sender: news@nas.nasa.gov Organization: Cygnus Support, Palo Alto, California Lines: 15 In-Reply-To: jonl%kuwait@lucid.COM's message of 4 Apr 91 21:01:00 GMT Date: 4 Apr 91 21:01:00 GMT From: jonl%kuwait@lucid.COM (Jon L White) Your particular suggestions look fine to me, but what's missing from the dialogue is the concept, elaborately worked out in the CL world, of constructs that (1) truncate multiple-values down to one value, and (2) "pass back" multiple values. I always enjoyed the comment in the Chine Ual that read (for several editions) "Multiple values are not returned through an unwind-protect. I'd like to fix it but it's hard." When it finally was fixed that comment was sadly not replaced by any note indicating how difficult it in fact turned out to have been.