koryphe icon indicating copy to clipboard operation
koryphe copied to clipboard

ApplyBiFunction only works when run against a pair of inputs

Open d47853 opened this issue 4 years ago • 0 comments

It would be useful to have a function which allows the execution of a BinaryOperator against a stored state and an input. This would mean less functions have to be written to replicate what BinaryOperators do.

For example, you wouldn't need the IsMoreThan function because you could use:

{
  "class": "ApplyBinaryOperator",
  "state": 5,
  "binaryOperator": {
    "class": "Max"
  }
}

d47853 avatar Jan 15 '21 09:01 d47853