|
|
@ -17,6 +17,7 @@ include Monad_intf.S with type 'a t := 'a t
|
|
|
|
|
|
|
|
|
|
|
|
val pp : ('a_pp -> 'a -> unit, unit) fmt -> 'a_pp -> 'a option pp
|
|
|
|
val pp : ('a_pp -> 'a -> unit, unit) fmt -> 'a_pp -> 'a option pp
|
|
|
|
val map_or : 'a t -> default:'b -> f:('a -> 'b) -> 'b
|
|
|
|
val map_or : 'a t -> default:'b -> f:('a -> 'b) -> 'b
|
|
|
|
|
|
|
|
val flat_map : 'a t -> f:('a -> 'b t) -> 'b t
|
|
|
|
val iter : 'a t -> f:('a -> unit) -> unit
|
|
|
|
val iter : 'a t -> f:('a -> unit) -> unit
|
|
|
|
val exists : 'a t -> f:('a -> bool) -> bool
|
|
|
|
val exists : 'a t -> f:('a -> bool) -> bool
|
|
|
|
val for_all : 'a t -> f:('a -> bool) -> bool
|
|
|
|
val for_all : 'a t -> f:('a -> bool) -> bool
|
|
|
|