On Feb 10, 10:46 pm, Rayne <disciplera...@gmail.com> wrote:
> I literally asked this same question yesterday in #Clojure. The answer
> is and
>
> user/ (doc and)
> -------------------------
> clojure.core/and
> ([] [x] [x & rest])
> 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
>
> user/ (and true false)
> false
>
> user/ (and false true)
> false
>

Thank you Rayne--this answer was also helpful.

--
Onorio Catenacci III
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to