On May 30, 12:45 pm, alux <alu...@googlemail.com> wrote: > Hi A., > > I dont completely understand what you refer to with "works correct". > > You define a local variable, named do, and use it. That works of > course. Btw you may use it without the call to var > (def do println) > (do "example")
It only appears to "work"; the second line is still using the special form. You can see this more clearly here: user=> (def if println) #'user/if user=> (if "hi") java.lang.Exception: Too few arguments to if (NO_SOURCE_FILE:22) user=> ((var if) "hi") hi nil The "hi" is from the println function, the "nil" is what was returned from the call. -- 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