Email list hosting service & mailing list manager


Re: order of evaluation Joo ChurlSoo 05 Apr 2006 13:26 UTC

 *Sebastian Egner <xxxxxx@philips.com>
 | What is the rationale for fixing a specific order of evaluation?

The expressions for LET bindings are evaluated sequentially from left to right
implicitly in most implementations and explicitly in a certain implementaton,
though R5RS said explicitly `in some unspecified order'.  This can make users
to involuntarily (or by necessity) write programs that rely on the sequential
ordering of evaluation.  So, the expressions for ALET bindings are evaluated
in sequence from left to right like ALET* and LET*.

As I don't think that the <some unspecified order> of LET means a pure random
order that is neither sequential from left to right nor sequential from right
to left, I wonder what the rationale for <unspecified order> evaluation of LET
is.

--
Joo ChurlSoo