2 ms·
Not being a huge lisp person, are there lazy-evaluating lists in lisp? So that I could define the tabstop sequence to be a list that would continually be evalua
by pyre 17y ago
Not being a huge lisp person, are there lazy-evaluating lists in lisp? So that I could define the tabstop sequence to be a list that would continually be evaluated, but only as far as the calling function was asking for (like Haskell)? Otherwise, there is still a finite end to the list even if I can easily generate a ridiculously long sequence automatically.
- lallysingh 17y agoNope, strict eval only. Just define a max, and if you hit it, raise it.
- ekiru 17y agoI don't believe there's anything in the Common Lisp standard for it, but I think lazy lists should be implementable with macros.