Up – Package index » kappa-library » Library kappa-library.generic » Kappa_data_structures » SetMap » Proj2 » Mapkappa-library CHANGES README Library kappa-library.generic Library kappa-library.mixtures Library kappa-library.runtime Library kappa-library.terms Library kappa-library.utils Sources val is_empty : 'a t -> boolval root : 'a t -> (elt * 'a ) optionval max_key : 'a t -> elt optionval add : elt -> 'a -> 'a t -> 'a t val remove : elt -> 'a t -> 'a t val add_while_testing_freshness :
('parameters , 'error , elt -> 'a -> 'a t -> 'error * bool * 'a t )
with_log_wrap val remove_while_testing_existence :
('parameters , 'error , elt -> 'a t -> 'error * bool * 'a t ) with_log_wrap val pop : elt -> 'a t -> 'a option * 'a t val merge : 'a t -> 'a t -> 'a t val min_elt : 'a t -> (elt * 'a ) optionval find_option : elt -> 'a t -> 'a optionval find_default : 'a -> elt -> 'a t -> 'a val find_option_with_logs :
('parameters , 'error , elt -> 'a t -> 'error * 'a option ) with_log_wrap val find_default_with_logs :
('parameters , 'error , 'a -> elt -> 'a t -> 'error * 'a ) with_log_wrap val mem : elt -> 'a t -> boolval diff : 'a t -> 'a t -> 'a t * 'a t val union : 'a t -> 'a t -> 'a t val update : 'a t -> 'a t -> 'a t val diff_pred : ('a -> 'a -> bool) -> 'a t -> 'a t -> 'a t * 'a t val add_with_logs :
('parameters , 'error , elt -> 'a -> 'a t -> 'error * 'a t ) with_log_wrap val join_with_logs :
('parameters , 'error , 'a t -> elt -> 'a -> 'a t -> 'error * 'a t )
with_log_wrap val split_with_logs :
('parameters , 'error , elt -> 'a t -> 'error * ('a t * 'a option * 'a t ) )
with_log_wrap val update_with_logs :
('parameters , 'error , 'a t -> 'a t -> 'error * 'a t ) with_log_wrap val map2_with_logs :
('parameters ,
'error ,
('parameters -> 'error -> 'a -> 'error * 'c ) ->
('parameters -> 'error -> 'b -> 'error * 'c ) ->
('parameters -> 'error -> 'a -> 'b -> 'error * 'c ) ->
'a t ->
'b t ->
'error * 'c t )
with_log_wrap val map2z_with_logs :
('parameters ,
'error ,
('parameters -> 'error -> 'a -> 'a -> 'error * 'a ) ->
'a t ->
'a t ->
'error * 'a t )
with_log_wrap val fold2z_with_logs :
('parameters ,
'error ,
('parameters -> 'error -> elt -> 'a -> 'b -> 'c -> 'error * 'c ) ->
'a t ->
'b t ->
'c ->
'error * 'c )
with_log_wrap val fold2_with_logs :
('parameters ,
'error ,
('parameters -> 'error -> elt -> 'a -> 'c -> 'error * 'c ) ->
('parameters -> 'error -> elt -> 'b -> 'c -> 'error * 'c ) ->
('parameters -> 'error -> elt -> 'a -> 'b -> 'c -> 'error * 'c ) ->
'a t ->
'b t ->
'c ->
'error * 'c )
with_log_wrap val fold2_sparse_with_logs :
('parameters ,
'error ,
('parameters -> 'error -> elt -> 'a -> 'b -> 'c -> 'error * 'c ) ->
'a t ->
'b t ->
'c ->
'error * 'c )
with_log_wrap val iter2_sparse_with_logs :
('parameters ,
'error ,
('parameters -> 'error -> elt -> 'a -> 'b -> 'error ) ->
'a t ->
'b t ->
'error )
with_log_wrap val diff_with_logs :
('parameters , 'error , 'a t -> 'a t -> 'error * 'a t * 'a t ) with_log_wrap val diff_pred_with_logs :
('parameters ,
'error ,
('a -> 'a -> bool) ->
'a t ->
'a t ->
'error * 'a t * 'a t )
with_log_wrap val merge_with_logs :
('parameters , 'error , 'a t -> 'a t -> 'error * 'a t ) with_log_wrap val union_with_logs :
('parameters , 'error , 'a t -> 'a t -> 'error * 'a t ) with_log_wrap val fold_restriction_with_logs :
('parameters ,
'error ,
(elt -> 'a -> ('error * 'b ) -> 'error * 'b ) ->
set ->
'a t ->
'b ->
'error * 'b )
with_log_wrap val fold_restriction_with_missing_associations_with_logs :
('parameters ,
'error ,
(elt -> 'a -> ('error * 'b ) -> 'error * 'b ) ->
(elt -> ('error * 'b ) -> 'error * 'b ) ->
set ->
'a t ->
'b ->
'error * 'b )
with_log_wrap val iter : (elt -> 'a -> unit) -> 'a t -> unitval fold : (elt -> 'a -> 'b -> 'b ) -> 'a t -> 'b -> 'b val monadic_fold2 :
'parameters ->
'exceptions_caught_and_uncaught ->
('parameters ->
'exceptions_caught_and_uncaught ->
elt ->
'a ->
'b ->
'c ->
'exceptions_caught_and_uncaught * 'c ) ->
('parameters ->
'exceptions_caught_and_uncaught ->
elt ->
'a ->
'c ->
'exceptions_caught_and_uncaught * 'c ) ->
('parameters ->
'exceptions_caught_and_uncaught ->
elt ->
'b ->
'c ->
'exceptions_caught_and_uncaught * 'c ) ->
'a t ->
'b t ->
'c ->
'exceptions_caught_and_uncaught * 'c val monadic_fold2_sparse :
'parameters ->
'exceptions_caught_and_uncaught ->
('parameters ->
'exceptions_caught_and_uncaught ->
elt ->
'a ->
'b ->
'c ->
'exceptions_caught_and_uncaught * 'c ) ->
'a t ->
'b t ->
'c ->
'exceptions_caught_and_uncaught * 'c val monadic_iter2_sparse :
'parameters ->
'exceptions_caught_and_uncaught ->
('parameters ->
'exceptions_caught_and_uncaught ->
elt ->
'a ->
'b ->
'exceptions_caught_and_uncaught ) ->
'a t ->
'b t ->
'exceptions_caught_and_uncaught val monadic_fold_restriction :
'parameters ->
'exceptions_caught_and_uncaught ->
('parameters ->
'exceptions_caught_and_uncaught ->
elt ->
'a ->
'b ->
'exceptions_caught_and_uncaught * 'b ) ->
set ->
'a t ->
'b ->
'exceptions_caught_and_uncaught * 'b val mapi : (elt -> 'a -> 'b ) -> 'a t -> 'b t val map : ('a -> 'b ) -> 'a t -> 'b t val map2 : ('a -> 'a -> 'a ) -> 'a t -> 'a t -> 'a t val for_all : (elt -> 'a -> bool) -> 'a t -> boolval filter_one : (elt -> 'a -> bool) -> 'a t -> (elt * 'a ) optionval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> intval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval bindings : 'a t -> (elt * 'a ) list