Scala Language Fat arrow functions


Example

val lastNames = people.map(p => p.lastName)
// Or shorter:
val lastNames = people.map(_.lastName)