Same argument applies (er...) to the zero element case. Phil
Ashton Kemerling <[email protected]> writes: > I wouldn't be surprised if the 1 arg form is to help people who use > along > with apply, just in case the list is only 1 element long. > > On Wed, Sep 17, 2014 at 7:40 AM, Phillip Lord > <[email protected]> wrote: > >> Herwig Hochleitner <[email protected]> writes: >>> 2014-09-17 11:51 GMT+02:00 Phillip Lord <[email protected]>: >>> >>>> >>>> So, why not special case 1 arg as well, and have that except? It's a >>>> reasonable question. I would submit a bug report and see if anyone else >>>> agrees. Something is wrong for sure. Either (> x) should throw arity, or >>>> (>) should return true, or the docstring should be changed to note the >>>> special case for (>). >>>> >>>> >>> Totally agree, please post ticket number, so that we can favorite! >> http://dev.clojure.org/jira/browse/CLJ-1526 >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with your >> first post. >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. -- Phillip Lord, Phone: +44 (0) 191 222 7827 Lecturer in Bioinformatics, Email: [email protected] School of Computing Science, http://homepages.cs.ncl.ac.uk/phillip.lord Room 914 Claremont Tower, skype: russet_apples Newcastle University, twitter: phillord NE1 7RU -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
