[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] multiple values module
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@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports