8 lines
156 B
Text
8 lines
156 B
Text
module main
|
|
imports native.io.output.say
|
|
|
|
operator |> (arr:Array,f:Procedure):Array==>{f(x) of x |-> arr}
|
|
|
|
say({0,1,2,3,4,5}|>a==>a+2)//|{2,3,4,5,6,7}
|
|
|
|
end
|