On Mon, Mar 14, 2011 at 5:11 AM, Dominikus <dominikus.herzb...@gmail.com> wrote:
> But I can call the redefined 'if' only with a qualified symbol name
>
> user=> (user/if 3)
> 9

Or using apply:

user=> (apply if [3])
9

You can even just rename it:

user=> (let [a if] (a 3))
9

Cute, but you probably shouldn't be doing this in production code
without a *real* good reason.

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