The point is that I want to be able to use the original one in a
seamless way. In other word, I would like to offer the new
capabilities without compromising the user experience or the pre-
existing libraries that use "+".

On Apr 8, 2:45 pm, Meikel Brandmeyer <m...@kotka.de> wrote:
> Hi,
>
> you can always fully qualify the original +: clojure.core/+. Or you
> specify a rename in the namespace clause.
>
> (ns foo.bar
>   (:refer-clojure :rename {+ core-+}))
>
> Then you can access the original + as core-+.
>
> I don't believe it is idiomatic to overload + in such a way. (No
> matter how to access the original one.)
>
> Sincerely
> Meikel

-- 
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