lua-users home
lua-l archive

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


See Exercise 1.4 in SICP.

i think you meant 1.5.

anyways, i wasn't asking why it evaluates both, but pointing out that
it does evaluate both (which is not how one might expect it to work
cf. C and Perl's ternary operator).