On 12/20/20 10:11 AM, Bruce Gray wrote:
$a + $b - $c * $d / $e    .foo
, the .foo method is called on $e, not on the whole A-through-E sub-expression.

That makes sense.  It is the precidence.

In college, we called it "algebraic operation".

** came before *; * came before +;  etc

In Raku, a method comes before the all.

And this makes sense as you would want the value of
the cosine to be treated as another number in the
chain

Thank you!

Reply via email to