bearophile wrote:
> In Scala associative arrays look good enough and they are fully in the
> library. There is just a -> built-in syntax to define 2-tuples, used to
> create AA literals.

Actually -> is not built-in, but in the library too.
As a consequence, -> has the same precedence as + and -.

1*1 -> 2*2 works, but 1+1 -> (2+2) requires parentheses.

Cheers,
-Timon

Reply via email to