You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reducer argument to Fold is now BinaryOperator<ValueExpression> but should be BinaryOperator<SingleValueExpression> or perhaps even BinaryOperator<Value>. However, we often pass a ValueExpression such as Shorthand::add as a method reference, which would then no longer work. Experiment with a solution to this.
Possibly, we can make SingleValueExpression-versions of common operations such as the logical and binary operators. We first need to find out of we can pull this off in a clean way with the Java type system.
The text was updated successfully, but these errors were encountered:
The
reducer
argument toFold
is nowBinaryOperator<ValueExpression>
but should beBinaryOperator<SingleValueExpression>
or perhaps evenBinaryOperator<Value>
. However, we often pass aValueExpression
such asShorthand::add
as a method reference, which would then no longer work. Experiment with a solution to this.Possibly, we can make
SingleValueExpression
-versions of common operations such as the logical and binary operators. We first need to find out of we can pull this off in a clean way with the Java type system.The text was updated successfully, but these errors were encountered: