Multiple return

Per Bothner per at
Wed Jan 22 14:12:17 PST 2014

On 01/22/2014 01:36 PM, Jed Wesley-Smith wrote:
> Either style solutions force you to deal with error conditions, whereas a
> multiple return does not.

People may be talking about two different but related things:
(1) Multiple return values.
(2) Multiple return "continuations", including how to
encode and detect error returns.

Handling Either is useful for (2).
Returning Pair (or in general: tuples) is useful for (1).
	--Per Bothner
per at

More information about the lambda-dev mailing list