diff --git a/src/data/CCIntMap.mli b/src/data/CCIntMap.mli index c4a7901d..b0f7938f 100644 --- a/src/data/CCIntMap.mli +++ b/src/data/CCIntMap.mli @@ -67,8 +67,10 @@ val iter : (int -> 'a -> unit) -> 'a t -> unit val fold : (int -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b val mapi : (int -> 'a -> 'b) -> 'a t -> 'b t +(** @since NEXT_RELEASE *) val map : ('a -> 'b) -> 'a t -> 'b t +(** @since NEXT_RELEASE *) val choose : 'a t -> (int * 'a) option diff --git a/src/data/CCTrie.mli b/src/data/CCTrie.mli index 5c49c1a5..5bbd8333 100644 --- a/src/data/CCTrie.mli +++ b/src/data/CCTrie.mli @@ -76,10 +76,14 @@ module type S = sig (** Fold on key/value bindings. Will use {!WORD.of_list} to rebuild keys. *) val mapi : (key -> 'a -> 'b) -> 'a t -> 'b t - (** Map values, giving both key and value. Will use {!WORD.of_list} to rebuild keys. *) + (** Map values, giving both key and value. Will use {!WORD.of_list} to rebuild keys. + @since NEXT_RELEASE + *) val map : ('a -> 'b) -> 'a t -> 'b t - (** Map values, giving only the value. *) + (** Map values, giving only the value. + @since NEXT_RELEASE + *) val iter : (key -> 'a -> unit) -> 'a t -> unit (** Same as {!fold}, but for effectful functions *) diff --git a/src/data/CCWBTree.mli b/src/data/CCWBTree.mli index a419de1b..8e64e08b 100644 --- a/src/data/CCWBTree.mli +++ b/src/data/CCWBTree.mli @@ -63,10 +63,14 @@ module type S = sig val fold : f:('b -> key -> 'a -> 'b) -> x:'b -> 'a t -> 'b val mapi : f:(key -> 'a -> 'b) -> 'a t -> 'b t - (** Map values, giving both key and value. Will use {!WORD.of_list} to rebuild keys. *) + (** Map values, giving both key and value. Will use {!WORD.of_list} to rebuild keys. + @since NEXT_RELEASE + *) val map : f:('a -> 'b) -> 'a t -> 'b t - (** Map values, giving only the value. *) + (** Map values, giving only the value. + @since NEXT_RELEASE + *) val iter : f:(key -> 'a -> unit) -> 'a t -> unit