🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #5393

Re: The need for D-scussion (was Re: D Wishlist)

#5393
From: Silver
Date: Mon, 28 Mar 1988 17:43
14 lines
1032 bytes
barmar@think.COM (Barry Margolin) writes:
> You're behind the times in your Lisp knowledge.  Common Lisp, and
> Zetalisp before it, has functions with true multiple values.  The
> above would be written
>
> (setq z (multiple-value-bind (quotient remainder)
> 	      (floor x y)
> 	    (+ (* quotient quotient) (* remainder remainder))))

I too am behind the times in my knowledge of Lisp.  How would Scheme's
continuations fit into the area of multiple return values?

Regards,
[Ag]
Technical Details
Message-ID: <Mar.28.12.43.35.1988.1511@porthos.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!rochester!rutgers!aramis.rutgers.edu!porthos.rutgers.edu!gaynor
References: <12176@brl-adm.ARPA> <1988Mar11.215238.976@utzoo.uucp> <719@l.cc.purdue.edu> <10763@mimsy.UUCP> <3177@haddock.ISC.COM> <18580@think.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!rochester!rutgers!aramis.rutgers.edu!porthos.rutgers.edu!gaynor
From: gaynor@porthos.rutgers.edu (Silver)
Newsgroups: comp.lang.misc
Subject: Re: The need for D-scussion (was Re: D Wishlist)
Message-ID: <Mar.28.12.43.35.1988.1511@porthos.rutgers.edu>
Date: 28 Mar 88 17:43:36 GMT
References: <12176@brl-adm.ARPA> <1988Mar11.215238.976@utzoo.uucp> <719@l.cc.purdue.edu> <10763@mimsy.UUCP> <3177@haddock.ISC.COM> <18580@think.UUCP>
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 14