![](https://secure.gravatar.com/avatar/97c543aca1ac7bbcfb5279d0300c8330.jpg?s=120&d=mm&r=g)
12 Jul
2012
12 Jul
'12
11:21 a.m.
On Thu, Jul 12, 2012 at 4:13 PM, Henry Gomersall <heng@cantab.net> wrote:
On Thu, 2012-07-12 at 10:53 -0400, Neal Becker wrote:
I've been bitten several times by this.
logical_or (a, b, c)
is silently accepted when I really meant
logical_or (logical_or (a, b), c)
because the logic functions are binary, where I expected them to be m-ary.
I don't think you mean m-ary. It's just a simple binary OR of more than one variable. I don't even know what a m-ary OR would mean (a bit-wise OR of the binary representation?)
It's already a bit-wise OR of an array, that's the whole point (otherwise you could just use `or'!)
Different "ary": https://en.wikipedia.org/wiki/Arity -n