Stdlib320.OptionA module containing basic operations for options.
Mapping function for options. It applies a function to the value of the option if the option is not None. map f o is
Some (f x) if o = Some xNone if o = NoneMonadic bind for options. It "does something" to the value of the option if it is not None, and passes along the None otherwise. bind o f is
f x if o = Some xNone if o = None