lua-users home
lua-l archive

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

"Alex Queiroz" <> wrote/schrieb <>:

>     I thought Scheme is strict as well?

It's strict by default, but it allows you to do lazy evaluation
*explicitly* by using ``delay'' and ``force''. You can deal with
infinite streams (e.g. stream of all prime numbers), see
<> or the simplier
streams of the book SICP.

Just translate that to Lua, and you can do the same.