On Mon, Jun 22, 2009 at 5:11 PM, Nicolas Oury<[email protected]> wrote:
>
> Of course, there is eval, but eval is not very competent in manipulating
> namespace and bindings at runtinme.

eval is exactly what the REPL uses, one call to eval per
top-level form.  In several examples you put an 'ns' form
and others into a single 'do' form -- you can try that at
a REPL to see how it will work before putting it into an
eval call.

> - (binding [*ns* *ns*]

I think you may be misunderstanind something about Vars or
binding -- I can't think of a situation in which the above
usage of 'binding' would have any purpose.  Perhaps it would
be worth your time to review http://clojure.org/vars

--Chouser

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to