[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] [r6rs-discuss] Scheme pattern matching: the case for (case)
On Wed, 22 Dec 2010, John Cowan wrote:
> However, this is a problem not of hygiene but of reusing implementation,
> I think. Consider this:
>
> (define cdr #f)
> (length '(a b c))
>
> I haven't found any Schemes except Scheme 9 on which this fails, but
> there is nothing in any Scheme standard to make it work.
R5RS chapter 6 intro:
A program may use a top-level definition to bind any variable. It may
subsequently alter any such binding by an assignment (see 4.1.6). These
operations DO NOT MODIFY the behavior of Scheme's built-in procedures.
Andre
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports