Re: [Scheme-reports] multiple values module Eli Barzilay 24 May 2011 21:26 UTC

5 hours ago, John Cowan wrote:
>
> [...] Historically, multiple values were intended to be a more
> lightweight alternative to constructing an object:

If you're talking about such things as

  (define-values (getter setter)
    (let ([state #f])
      (values ...blah1...
              ...blah2...)))

then that ("intended to be...") is obviously wrong.

--
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports