transform


function transform<Input, Output>(x:Input[_], f:\(Input) -> Output) -> Output[_]

Unary transformation.

  • x: Operand.
  • f: Operator.

function transform<Input, Output>(X:Input[_,_], f:\(Input) -> Output) -> Output[_,_]

Unary transformation.

  • X: Operand.
  • f: Operator.

function transform<Input1, Input2, Output>(x:Input1[_], y:Input2[_], f:\(Input1, Input1) -> Output) -> Output[_]

Binary transformation.

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

function transform<Input1, Input2, Output>(X:Input1[_,_], Y:Input2[_,_], f:\(Input1, Input2) -> Output) -> Output[_,_]

Binary transformation.

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

function transform<Input1, Input2, Input3, Output>(x:Input1[_], y:Input2[_], z:Input3[_], f:\(Input1, Input2, Input3) -> Output) -> Output[_]

Ternary transformation.

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

function transform<Input1, Input2, Input3, Output>(X:Input1[_,_], Y:Input2[_,_], Z:Input3[_,_], f:\(Input1, Input2, Input3) -> Output) -> Output[_,_]

Ternary transformation.

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