Re: [Scheme-reports] return value of (parameter 'new-value)
Alex Shinn 20 May 2011 04:19 UTC
[I forgot to cc the list.]
On Thu, May 19, 2011 at 12:45 PM, Andy Wingo <wingo@pobox.com> wrote:
> The specification of `make-parameter' does not indicate that a parameter
> may be called with one argument to set the value. Is this an oversight
> or do I misunderstand?
No, we voted to make parameters immutable by default,
so that the binding can only be changed by `parameterize'.
You'll note that the sample implementation agrees
with this - the mutation interface is effectively hidden.
--
Alex
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports