for_each
function for_each<Type>(x:Type[_], f:\(Type))
Unary map.
- x: Operand.
- f: Operator.
Applies f
to each element of X
.
function for_each<Type>(X:Type[_,_], f:\(Type))
Unary map.
- X: Operand.
- f: Operator.
Applies f
to each element of X
.
function for_each<Input1, Input2>(x:Input1[_], y:Input2[_], f:\(Input1, Input2))
Binary map.
- x: First operand.
- y: Second operand.
- f: Operator.
function for_each<Input1, Input2>(X:Input1[_,_], Y:Input2[_,_], f:\(Input1, Input2))
Binary map.
- X: First operand.
- Y: Second operand.
- f: Operator.
function for_each<Input1, Input2, Input3>(x:Input1[_], y:Input2[_], z:Input3[_], f:\(Input1, Input2, Input3))
Ternary map.
- x: First operand.
- y: Second operand.
- z: Third operand.
- f: Operator.
function for_each<Input1, Input2, Input3>(X:Input1[_,_], Y:Input2[_,_], Z:Input3[_,_], f:\(Input1, Input2, Input3))
Ternary map.
- X: First operand.
- Y: Second operand.
- Z: Third operand.
- f: Operator.