On Sat, 2011-11-19 at 08:15 -0800, Andrew wrote:
> (Import only function bar from 
> library foo - renaming foo to f - requiring my own code to say f/bar and 
> ensuring that foo/baz and f/baz and baz don't work since baz is not 
> imported?)

You can't do this within the confines of an ns form; it implies the
creation of another namespace (besides the one you are creating!)
containing only bar, and aliasing that.

-- 
Stephen Compall
^aCollection allSatisfy: [:each|aCondition]: less is better

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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