Richard Newman <holyg...@gmail.com> writes: > Incidentally, I initially didn't know about `when-not` -- I figured > that `unless` had simply been omitted -- so I defined: > > (defmacro unless [pred & body] > `(when (not ~pred) ~...@body))
I did the same, and then was frustrated enough to dig through the core API documentation. Finding `when-not' was nice, but the name still doesn't work for me. Per your/our macro above, it's not really different enough from `when' and `not' to warrant another name. -- Steven E. Harris -- 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