Related articles |
---|
[11 earlier articles] |
Re: Multiple return values smcadams@sprynet.com (steve mcadams) (1997-04-20) |
Re: Multiple return values tiggr@es.ele.tue.nl (1997-04-20) |
Re: Multiple return values hrubin@stat.purdue.edu (1997-04-20) |
Re: Multiple return values fjh@mundook.cs.mu.OZ.AU (1997-04-22) |
Re: Multiple return values roy@earthlight.co.nz (1997-04-22) |
Re: Multiple return values Robert.Harley@inria.fr (1997-04-22) |
Re: Multiple return values jashley@eecs.ukans.edu (Mike Ashley) (1997-04-22) |
Re: Multiple return values burley@tweedledumb.cygnus.com (Craig Burley) (1997-04-22) |
Re: Multiple return values albaugh@agames.com (1997-04-22) |
Re: Multiple return values tiggr@es.ele.tue.nl (1997-04-30) |
Re: Multiple return values jch@hazel.pwd.hp.com (John Haxby) (1997-05-04) |
Re: Multiple return values jan@digicomp.com (Jan Galkowski) (1997-05-04) |
Re: Multiple return values gscase@interact.net.au (1997-05-04) |
[12 later articles] |
From: | "Mike Ashley" <jashley@eecs.ukans.edu> |
Newsgroups: | comp.compilers |
Date: | 22 Apr 1997 21:13:22 -0400 |
Organization: | University of Kansas |
References: | 97-04-091 97-04-104 |
Keywords: | design, bibliography |
Ken Walter <icedancer@ibm.net> wrote
> Returning a collection of anonymous results is more complicated than
> loading one result into the registers for return. If the caller isn't
> interested in the return values how are they discarded, etc.? If
> structures are allowed to be returned, then the multiple values can be
> returned as one object; this takes care of most cases.
You might look at
J. Michael Ashley and R. Kent Dybvig. An Efficient Implementation of
Multiple Return Values in Scheme, Proceedings of the 1994 ACM Conference on
LISP and Functional Programming, pp. 140-149, 1994.
It addressess all of the points raised above. The paper is available
online at
http://www.designlab.ukans.edu/~jashley/papers/lfp94.pdf and
http://www.designlab.ukans.edu/~jashley/papers/lfp94.ps.
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.