On 2/8/06, Mike Guy wrote:
I obviously missed that when it went past on p5p. Surely that should read
Any Code() predicate(value) match if $b->($a)
meaning that $a satisfies the predicate implemented by the code $b?
Ignoring $a seems a completely stupid thing to do.
Well, the ~~ table includes both:
Any Code<$> scalar sub truth match if $b($a)
Any Code<> simple closure truth match if $b() (ignoring $a)
so if the code takes a single argument, it will use $a; if it
doesn't, then, well, it won't.
-David "feeling singularly argumentative today" Green