Utils.OptionMonad
A bind operator for the option type. This module is meant to be opened.
option
val of_result : ('a, 'b) Result.result -> 'c option
val return : 'a -> 'b option
val bind : 'a option -> ('b -> 'c option) -> 'c option
val (>>=) : 'a option -> ('a -> 'b option) -> 'b option