mapSome abstract method

Option<T> mapSome(
  1. @noFutures Some<T> noFutures(
    1. Some<T> some
    )
)

Transforms the inner Some instance if this is a Some.

Implementation

Option<T> mapSome(@noFutures Some<T> Function(Some<T> some) noFutures);