--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
(def tree (function-that-produces-an-enormous-tree 2))
So there are a couple examples of things that are harder to do when your REPL prints the values that are attached to variables. But again, the real question here is, why does Clojurescript deviate on this point? I know that Clojurescript doesn't exactly match Clojure, but shouldn't all deviations be done for a reason?
--Mark
On Mon, May 14, 2012 at 7:27 PM, Mark Engelberg <mark.en...@gmail.com> wrote:(def tree (function-that-produces-an-enormous-tree 2))Isn't doing this at the top level bad form?
Also I don't see how this isn't solved by modifying some habits.(defn test-tree [] (function-that-produces-an-enormous-tree 2))(time (test-tree))