Subject: Re: small Q
From: (Rob Warnock)
Date: 2000/08/08
Newsgroups: comp.lang.dylan,comp.lang.scheme
Message-ID: <8mnutt$e2ctd$>
Bruce Hoult  <> wrote:
| wrote:
| > In fact, it occurs to me that a nice extension to the language would be
| > to allow more than two procedures in call-with-values... pipeline...
| In Dylan you need to do this as multiple statements:
| let (a, b, c) = foo();
| let (d, e)    = bar(a, b, c);
| let (f, g, h) = baz(d, e);

In MzScheme (or anything with "let*-values"), you can do:

	(let*-values (((a b c) (foo))
		      ((d e) (bar a b c))
		      ((f g h) (baz d e)))
	  ...use f,g,h... )


Rob Warnock, 41L-955
Applied Networking
Silicon Graphics, Inc.		Phone: 650-933-1673
1600 Amphitheatre Pkwy.		PP-ASEL-IA
Mountain View, CA  94043