for_each


function for_each<Type, Lambda>(x:Type[_], f:Lambda)

Unary map.

  • x: Operand.
  • f: Operator.

Applies f to each element of X.

function for_each<Type, Lambda>(X:Type[_,_], f:Lambda)

Unary map.

  • X: Operand.
  • f: Operator.

Applies f to each element of X.

function for_each<Input1, Input2, Lambda>(x:Input1[_], y:Input2[_], f:Lambda)

Binary map.

  • x: First operand.
  • y: Second operand.
  • f: Operator.

function for_each<Input1, Input2, Lambda>(X:Input1[_,_], Y:Input2[_,_], f:Lambda)

Binary map.

  • X: First operand.
  • Y: Second operand.
  • f: Operator.

function for_each<Input1, Input2, Input3, Lambda>(x:Input1[_], y:Input2[_], z:Input3[_], f:Lambda)

Ternary map.

  • x: First operand.
  • y: Second operand.
  • z: Third operand.
  • f: Operator.

function for_each<Input1, Input2, Input3, Lambda>(X:Input1[_,_], Y:Input2[_,_], Z:Input3[_,_], f:Lambda)

Ternary map.

  • X: First operand.
  • Y: Second operand.
  • Z: Third operand.
  • f: Operator.