"I think the 0-arity versions of these functions have been added during the work on reducers, to allow them to serve as reducing functions. Without going into reducers (or transducers, for that matter!), they place a number of requirements on reducing functions, among which that they should be associative and have a neutral element, and that they return that neutral element when called with no argument."
I am not sure why you think this, but it's wrong. (+) => 0 and (*) => 1 have been around since Clojure's inception, and indeed, these arities have been defined in Lisp for as long as I can recall. They have certainly been standardized for Common Lisp for at least a couple of decades now. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
