routine ^

Documentation for routine ^ assembled from the following types:

language documentation Operators

From Operators

(Operators) 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 

language documentation Operators

From Operators

(Operators) 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.