Skip to content

Commit

Permalink
Added extra clarifications to the map example
Browse files Browse the repository at this point in the history
  • Loading branch information
s4nk committed Jan 17, 2015
1 parent a081829 commit 69058ac
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 @@ -185,7 +185,7 @@ scala> numbers.map((i: Int) => i * 2)
res0: List[Int] = List(2, 4, 6, 8)
</pre>

or pass in a function
or pass in a function (the Scala compiler automatically converts our method to a function)

<pre>

Expand Down

0 comments on commit 69058ac

Please sign in to comment.