In Operators§

See primary documentation in context for prefix ^

multi sub prefix:<^>(Any --> Range:D)

upto operator.

Coerces the argument to Numeric, and generates a range from 0 up to (but excluding) the argument.

say ^5;         # OUTPUT: «0..^5␤» 
for ^5 { }      # 5 iterations

In Operators§

See primary documentation in context for infix ^

multi sub infix:<^>($a$b --> Junction:Dis assoc<list>

One junction operator.

Creates a one Junction from its arguments. See Junction for more details.