@@ -60,7 +60,7 @@ val bind : 'a t -> ('a -> 'b t) -> 'b t
60
60
61
61
val k_compose : ('a -> 'b t ) -> ('b -> 'c t ) -> 'a -> 'c t
62
62
(* * Kleisli composition. Monadic equivalent of {!CCFun.compose}
63
- @since NEXT_RELEASE *)
63
+ @since 3.13.1 *)
64
64
65
65
val map2 : ('a -> 'b -> 'c ) -> 'a t -> 'b t -> 'c t
66
66
(* * [map2 f o1 o2] maps ['a option] and ['b option] to a ['c option] using [f]. *)
@@ -100,7 +100,7 @@ val apply_or : ('a -> 'a t) -> 'a -> 'a
100
100
(* * [apply_or f x] returns the original [x] if [f] fails, or unwraps [f x] if it succeeds.
101
101
Useful for piping preprocessing functions together (such as string processing),
102
102
turning functions like "remove" into "remove_if_it_exists".
103
- @since NEXT_RELEASE *)
103
+ @since 3.13.1 *)
104
104
105
105
val value : 'a t -> default :'a -> 'a
106
106
(* * [value o ~default] is similar to the Stdlib's [Option.value] and to {!get_or}.
@@ -187,7 +187,7 @@ module Infix : sig
187
187
188
188
val ( |?> ) : 'a -> ('a -> 'a t) -> 'a
189
189
(* * [x |?> f] is [apply_or f x]
190
- @since NEXT_RELEASE *)
190
+ @since 3.13.1 *)
191
191
192
192
val ( let + ) : 'a t -> ('a -> 'b) -> 'b t
193
193
val ( and + ) : 'a t -> 'b t -> ('a * 'b) t
@@ -196,11 +196,11 @@ module Infix : sig
196
196
197
197
val ( > => ) : ('a -> 'b t) -> ('b -> 'c t) -> 'a -> 'c t
198
198
(* * Monadic [k_compose].
199
- @since NEXT_RELEASE *)
199
+ @since 3.13.1 *)
200
200
201
201
val ( < =< ) : ('b -> 'c t) -> ('a -> 'b t) -> 'a -> 'c t
202
202
(* * Reverse monadic [k_compose].
203
- @since NEXT_RELEASE *)
203
+ @since 3.13.1 *)
204
204
end
205
205
206
206
include module type of Infix
0 commit comments