diff --git a/src/main/scala/stdlib/PartiallyAppliedFunctions.scala b/src/main/scala/stdlib/PartiallyAppliedFunctions.scala index 7fba07cf..438ccb14 100644 --- a/src/main/scala/stdlib/PartiallyAppliedFunctions.scala +++ b/src/main/scala/stdlib/PartiallyAppliedFunctions.scala @@ -54,7 +54,7 @@ object PartiallyAppliedFunctions /** Currying allows you to create specialized versions of generalized functions: */ def specializedVersionPartiallyAppliedFunctions(res0: List[Int], res1: List[Int]) { - def customFilter(f: Int ⇒ Boolean)(xs: List[Int]) = + def customFilter(f: Int => Boolean)(xs: List[Int]) = xs filter f def onlyEven(x: Int) = x % 2 == 0 val xs = List(12, 11, 5, 20, 3, 13, 2)