Hi all,
i stumbled upon this code, and am curious why it's not working:
user> (defn makea []
(def a 232))
#'user/makea
user> (makea)
#'user/a
user> a
232
user> (ns-unmap *ns* 'a)
nil
user> (makea)
#'user/a
user> a
---> Unable to resolve symbol: a in this context
[Thrown class java.lang.Exception]
another question i had: is there a way to destroy java objects in clojure?
how do i set an object to null, so the garbage collector can do it's thing?
cheers,
David
--
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