ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/condition XorTest.java
Date Tue, 25 Jan 2005 21:54:26 GMT

--- "Alexey N. Solofnenko" <A.Solofnenko@mdl.com>
wrote:

> Do you mean the functions are not defined when n==1
> or even n==0?
> 
And and Or are defined for all values of n.  We can
think of "and" as "nothing false" and "or" as
"something true".  So for n==0 they return true and
false respectively.

-Matt

> - Alexey.
> 
> Steve Loughran wrote:
> 
[SNIP]
> >
> > Its not a new function, view it more as a vector
> operation. A bit like 
> > sum([1,2,3]) = 6 in listy languages.
> > Our <and> and <or>ops are not binary, they are
> n-ary for n>1; xor 
> > merely continues the practise.
> >
> > -steve
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 
> -- 
>
------------------------------------------------------------------------
> / Alexey N. Solofnenko
> MDL Information Systems, Inc.
> work: 510-357-2222x1726
> home: http://trelony.cjb.net/
> /
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page  Try My Yahoo!
http://my.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message