On Wednesday 03 December 2008 18:28, Stephen C. Gilardi wrote:
> On Dec 3, 2008, at 9:15 PM, Randall R Schulz wrote:
> > By the way, I do understand while (or) is false and (and) is true,
> > but I don't see why = allows a single argument.
>
> I don't know the answer, but I do see it making sense as the final
> value in this sequence:
>
> (= 1 1 1 ...)
> (= 1 1 1)
> (= 1 1)
> (= 1)
>
> They all return true and in each case it means "all the arguments
> have the same value".

OK, so it's consistent with the null-ary (and) (no argument is false) 
and (or) (there is a true argument). But from that perspective, 
shouldn't the definition extend to the null-ary case, too?

But I wonder if this doesn't just induce more debugging than is 
necessary. That was the case for me (if it wasn't apparent).


> --Steve


Randall Schulz

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to