Tag

flatMap

Using Option in Scala, Part 2: map and flatmap

From Get Programming with Scala by Daniela Sfregola

This part of the article series delves into using map to transform an object contained in an Option and how to chain optional values together using flatMap.

flatMap in Action

From Reactive Web Applications
flatMap in action

© 2019 Manning — Design Credits