[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a bug

This page is part of the web mail archives of SRFI 71 from before July 7th, 2015. The new archives for SRFI 71 contain all messages, not just those from before July 7th, 2015.

Hello Joo ChurlSoo,

The order of evaluation of the expressions used to
initialize bindings in LET is explicitly left
unspecified in the Scheme standard, Section 4.2.2:

    "Semantics: The <init>s are evaluated in the
current environment (in some unspecified order), ..."

(Consider for example

This means your programs should not rely on a
particular ordering of the bindings. 

The difference becomes apparent in SRFI-LET because my
reference implementation uses this freedom to
recognize ordinary single-value bindings and collect
them into an ordinary LET.


Start your day with Yahoo! - make it your home page