Arc Forumnew | comments | leaders | submitlogin
Lazy structures?
1 point by stefano 5891 days ago | 1 comment
I think adding support for lazy evaluation would be a great thing. It shouldn't be hard to add this features with some macros.


1 point by sjs 5891 days ago | link

There is force/delay as demonstrated in SICP and On Lisp, or lazy call-by-name thunks. These are pretty rudimentary but they work.

http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lec... (iirc, streams & the metacircular evaluator)

http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-27.html...

http://www.bookshelf.jp/texi/onlisp/onlisp_16.html#SEC107

-----