On Feb 2, 5:32 pm, Keith Bennett <keithrbenn...@gmail.com> wrote:
> I have a lot of work to do to learn how to think in functional
> programming.  These kinds of discussions are very helpful.

A picky point -- lazy sequences aren't really a functional programming
thing (although restricting side effects makes it easier to reason
about them).  Functional programming is about the language helping you
to restrict side effects.  Lazy sequences are one way of making that
efficient (so that you can avoid constructing temporary collections).
However, you don't need lazy sequences to have a functional language
(Scheme doesn't, and at least one modern Scheme implementation is
"functional" enough to make cons cells immutable by default), nor does
the language need to be functional in order to have lazy sequences
(e.g., Common Lisp's SERIES package, which is described in "Common
Lisp the Language" (2nd edition)).

mfh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to