Catamorphism over the option.
Catamorphism over the option. Returns the provided function some
applied to item contained in the Option
if it is defined, otherwise, the provided value none
.
Alias for cata
Returns the given value if None, otherwise lifts the Some value and passes it to the given function.
Returns the given value if None, otherwise lifts the Some value to Option and passes it to the given function.
scala.None with a sometimes more convenient type.
Returns the item contained in the Option wrapped in type M if the Option is defined, otherwise, the empty value for type M.
scala.Some.apply with a sometimes more convenient type.