Why do "bit-or" and "bit-and" only accept 2 arguments? "or" and "and" accept an arbitrary number and I think it is useful to modifiy "bit- or" and "bit-and" to accept 2 or more, for example:
(defn my-bit-or [x y & rest] (reduce #(clojure.lang.Numbers/or %1 %2) (list* x y rest))) What does the group think? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---