Module Option.Letsfix

A combination of Infix and Let (for let* etc.)

include module type of Infix

A combination of Infix and Let (for let* etc.)

include module type of BatOption.Infix
val (|?) : 'a option -> 'a -> 'a
val (>>=) : 'a option -> ('a -> 'b option) -> 'b option
val (<$>) : ('a -> 'b) -> 'a option -> 'b option
val (>>|) : 'a option -> ('a -> 'b) -> 'b option
val (=<<) : ('a -> 'b t) -> 'a t -> 'b t
val let+ : 'a t -> ('a -> 'b) -> 'b t
val and+ : 'a t -> 'b t -> ('a * 'b) t
val let* : 'a t -> ('a -> 'b t) -> 'b t
val and* : 'a t -> 'b t -> ('a * 'b) t