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
As of Scala 2.9.1, the error message present on Scala 2.8.1/2.9.0 regarding tupled functions vs multiple parameter functions is no longer clear. 2.9.0:
scala>deff[A,B](m: Map[A, B], p: (A, B) =>Boolean) = m partition p
<console>:5:error: typemismatch;
found : (A, B) =>Booleanrequired: ((A, B)) =>Booleandeff[A,B](m: Map[A, B], p: (A, B) =>Boolean) = m partition p
^
2.9.1:
scala>deff[A,B](m: Map[A, B], p: (A, B) =>Boolean) = m partition p
<console>:7:error: typemismatch;
found : (A, B) =>Booleanrequired: (A, B) =>Booleandeff[A,B](m: Map[A, B], p: (A, B) =>Boolean) = m partition p
^
The text was updated successfully, but these errors were encountered:
As of Scala 2.9.1, the error message present on Scala 2.8.1/2.9.0 regarding tupled functions vs multiple parameter functions is no longer clear. 2.9.0:
2.9.1:
The text was updated successfully, but these errors were encountered: