diff --git a/dev/containers/CCList/Assoc/index.html b/dev/containers/CCList/Assoc/index.html index efb01411..9898483f 100644 --- a/dev/containers/CCList/Assoc/index.html +++ b/dev/containers/CCList/Assoc/index.html @@ -4,4 +4,4 @@ f:( 'b option -> 'b option ) -> 'a -> ( 'a, 'b ) t -> - ( 'a, 'b ) t

update ~eq ~f k alist updates alist on the key k, by calling f (get k alist) and removing k if it returns None, mapping k to v' if it returns Some v'.

val remove : eq:( 'a -> 'a -> bool ) -> 'a -> ( 'a, 'b ) t -> ( 'a, 'b ) t

remove ~eq k alist returns the alist without the first pair with key k, if any.

\ No newline at end of file + ( 'a, 'b ) t

update ~eq ~f k alist updates alist on the key k, by calling f (get k alist) and removing k if it returns None, mapping k to v' if it returns Some v'.

val remove : eq:( 'a -> 'a -> bool ) -> 'a -> ( 'a, 'b ) t -> ( 'a, 'b ) t

remove ~eq k alist returns the alist without the first pair with key k, if any.

val keys : ( 'a, 'b ) t -> 'a list

keys alist returns a list of all keys of alist.

val values : ( 'a, 'b ) t -> 'b list

values alist returns a list of all values of alist.

val map_values : ( 'b -> 'c ) -> ( 'a, 'b ) t -> ( 'a, 'c ) t

map_values f alist applies function f to all values of alist.

\ No newline at end of file diff --git a/dev/containers/CCListLabels/Assoc/index.html b/dev/containers/CCListLabels/Assoc/index.html index 472619a7..b487af58 100644 --- a/dev/containers/CCListLabels/Assoc/index.html +++ b/dev/containers/CCListLabels/Assoc/index.html @@ -4,4 +4,4 @@ f:( 'b option -> 'b option ) -> 'a -> ( 'a, 'b ) t -> - ( 'a, 'b ) t

update ~eq ~f k alist updates alist on the key k, by calling f (get alist k) and removing k if it returns None, mapping k to v' if it returns Some v'.

val remove : eq:( 'a -> 'a -> bool ) -> 'a -> ( 'a, 'b ) t -> ( 'a, 'b ) t

remove ~eq k alist returns the alist without the first pair with key k, if any.

\ No newline at end of file + ( 'a, 'b ) t

update ~eq ~f k alist updates alist on the key k, by calling f (get alist k) and removing k if it returns None, mapping k to v' if it returns Some v'.

val remove : eq:( 'a -> 'a -> bool ) -> 'a -> ( 'a, 'b ) t -> ( 'a, 'b ) t

remove ~eq k alist returns the alist without the first pair with key k, if any.

val keys : ( 'a, 'b ) t -> 'a list

keys alist returns a list of all keys of alist.

val values : ( 'a, 'b ) t -> 'b list

values alist returns a list of all values of alist.

val map_values : ( 'b -> 'c ) -> ( 'a, 'b ) t -> ( 'a, 'c ) t

map_values f alist applies function f to all values of alist.

\ No newline at end of file