[plt-scheme] Multiple values

From: Danny Yoo (dyoo at hkn.eecs.berkeley.edu)
Date: Mon Feb 20 18:38:33 EST 2006


> Yes.  More generally, I often use multiple values because they allow
> multiple computation. For an "actual" example, let us consider a
> non-empty linear list. Let us assume that we have to get, on the one
> hand, the list but its last element, on the other hand, its last
> element. You can write two functions for these two purposes, but they
> would go along the list twice.

This thread feels like it echos ideas in "Toward Leakage Containment":

    http://citeseer.ist.psu.edu/4469.html



Posted on the users mailing list.