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

RE: Y Store /Closures



On Mon, 17 Mar 2003, Anton van Straaten wrote:

> [order of evaluation is] only an important detail of the semantics in a
> language with side effects, of course ...

I'm not sure about that. Seems to me that the Scheme program

(let/cc k ((lambda (x y) x) (k 'left-to-right) (k 'right-to-left)))

produces 'left-to-right if evaluation goes from left to right, and
'right-to-left if evaluation goes from right to left, even though it
doesn't employ side-effects.

-jacob