3 ms·
Quick, what should be the order of precedence among (binary!) flip, transp, rot, rho, and iota? APL / Ivy have so many operators a conventional precedence orde
by mananaysiempre 4y ago
Quick, what should be the order of precedence among (binary!) flip, transp, rot, rho, and iota?
APL / Ivy have so many operators a conventional precedence order would likely be completely impossible to remember or work with.
(One option I’d consider viable in general would be to define associativity and perhaps compatible groups like {+, -} or {*, /} but force explicit parentheses when operators from different groups are used, but that wouldn’t feel like a calculator.)