Hi On 2 February 2010 01:20, rzeze...@gmail.com <rzeze...@gmail.com> wrote: [...] > user> (doc and) > ------------------------- > clojure.core/and > ([] [x] [x & next]) > Macro > Evaluates exprs one at a time, from left to right. If a form > returns logical false (nil or false), and returns that value and > doesn't evaluate any of the other expressions, otherwise it returns > the value of the last expr. (and) returns true. > nil > > Notice that and is a macro and that it doesn't expect a sequence as > argument, but rather 0 to multiple expressions (also note that the doc > string appears to have a typo or some sort). So the seq you passed
No it does not seem to have any typos in it, but it's quite difficult to parse. It might be clearer if the function name were rendered in italics or bold or something. I'll put it in caps below and reword the last sentence to see if that helps: Evaluates exprs one at a time, from left to right. If a form returns logical false (nil or false), AND returns that value and doesn't evaluate any of the other expressions, otherwise it returns the value of the last expr. When called without arguments, it returns true. -- Michael Wood <esiot...@gmail.com> -- 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