Module CCOpt.Infix
val (<*>) : ('a -> 'b) t -> 'a t -> 'b t
f <*> (Some x)
returnsSome (f x)
andf <*> None
returnsNone
.
Let operators on OCaml >= 4.08.0, nothing otherwise
- since
- 2.8
CCOpt.Infix
val (<*>) : ('a -> 'b) t -> 'a t -> 'b t
f <*> (Some x)
returns Some (f x)
and f <*> None
returns None
.
Let operators on OCaml >= 4.08.0, nothing otherwise
include CCShimsMkLet_.S with type 'a t_let := 'a option