Exponentiation with infix operators in (or operating on) the base: Difference between revisions

Content deleted Content added
Thundergnat (talk | contribs)
→‎{{header|Raku}}: Add demo of custom "low precedence" infix exponentiation
Thundergnat (talk | contribs)
m →‎{{header|Raku}}: symbolic unary, not infix subtract
Line 98: Line 98:
# whatever precedence level meets the needs of your program.
# whatever precedence level meets the needs of your program.


sub infix:<↑> is looser(&infix:<->) { $^a ** $^b }
sub infix:<↑> is looser(&prefix:<->) { $^a ** $^b }


sub infix-loose-exp (\x, \p) {
sub infix-loose-exp (\x, \p) {