1 comment on “map and flatMap in Scala for collections”

map and flatMap in Scala for collections


Through this blog, I would like to throw some light on the two most basic and most commonly used operations, map() and flatmap(), for collections in Scala. Since scala follows most aspects of functional programming hence map in scala might…