Meikel Brandmeyer <m...@kotka.de> writes:
> Am 25.01.2009 um 17:11 schrieb Zak Wilson:
>
>> Clojure has that in the comment form: (comment (do (not (eval this))))
>
> No. That's not equivalent. comment leaves a nil behind, while #*
> would not.
>
> [:a (comment :b) :c] => [:a nil :c]
> [:a #* :b :c] => [:a :c]

Exactly. In CL you can use #-(and) for anything, for example function
arguments. I use it like that way regularly while developing code. It
has to be a reader macro.

--J.

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