concept chain optional value in category scala

appears as: Chain optional values
Get Programming with Scala

This is an excerpt from Manning's book Get Programming with Scala.

  • You have learned that a for-comprehension statement is an alternative, more readable way to rewrite nested flatMap statement to chain optional values together.