This post originated from an RSS feed registered with Scala Buzz
by Lalit Pant.
Original Post: A Short Road to TCPoly(morphism) in Scala
Feed Title: All Things Runnable / Scala
Feed URL: http://feeds.feedburner.com/lalitpant/scala
Feed Description: Scala related posts on Lalit Pant's Blog
In my previous post, I talked about adding rich methods to Java Collections with the help of traits. If you go back and look at that post, you will see that I stayed well away from rich methods of a certain kind: those that return a new Collection when they are applied to an existing Collection. Examples of such methods are: map, flatMap, and filter.
Why did I not talk about methods of this