[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Scheme-reports] multiple values module
- To: scheme-reports <scheme-reports@x>
- Subject: [Scheme-reports] multiple values module
- From: Andy Wingo <wingo@x>
- Date: Thu, 19 May 2011 21:35:48 +0200
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@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports