Skip to content

Commit

Permalink
Merge pull request twitter#146 from matteobaglini/master
Browse files Browse the repository at this point in the history
Underscore not required
  • Loading branch information
benpence committed Sep 16, 2015
2 parents 34764ff + 2d632cd commit a486ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/collections.textile
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ res0: List[Int] = List(2, 4)
scala> def isEven(i: Int): Boolean = i % 2 == 0
isEven: (i: Int)Boolean

scala> numbers.filter(isEven _)
scala> numbers.filter(isEven)
res2: List[Int] = List(2, 4)
</pre>

Expand Down

0 comments on commit a486ca0

Please sign in to comment.