On 2 February 2012 17:40, Damian Conway dam...@conway.org wrote:
I sounds like I simply misunderstood yary's problem, but I'd be
very glad to be reassured that's the case. :-)
AIUI, yary is talking about the default BUILD submethod that is generated
if you don't provide your own (or maybe its
sub infix:foo ($a, $b = ($a foo 2 * 3 - $a)) is tighter(infix:*)
{
$a == 0 ?? 1 foo 2 * 3 !! $a + $b
}
say 1 foo (2 * 3);
# 7
say (1 foo 2) * 3;
# 9
say 1 foo 2 * 3;
# 9
say infix:foo(1);
# Niecza: 7
say 0 foo 0;
# Niecza: 9
The way that Niecza does this is to install the operator
On 7/22/06, Aaron Crane [EMAIL PROTECTED] wrote:
Larry Wall writes:
Maybe we should just make statement modifiers uppercase and burn out
everyone's eye sockets. :)
...
Bearing that in mind, would the eye-socket-burning
return $foo
IF $something;
really be so bad?
This has