[Scheme-reports] multiple values module
Andy Wingo 19 May 2011 19:35 UTC
Hello,
What's the rationale for breaking call-with-values and values out to
their own module? Would it be an error an implementation that lacks
multiple values to ever call a continuation with more than one argument,
or with no arguments?
In that case, what about
(begin (call/cc (lambda (k) (k))) #t)
?
Suggestion: since it is trivial to implement `call-with-values' with a
define-record-type <values>, simply require it in the base Scheme. If
someone is so resource constrained that they cannot include it in their
system, they can still call their system Scheme, just with a small
caveat.
Andy
--
http://wingolog.org/
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports