koryphe
koryphe copied to clipboard
ApplyBiFunction only works when run against a pair of inputs
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"
}
}