Up – Package index » kappa-library » Library kappa-library.terms » Kappa_terms » Pattern » 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 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 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 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 )
Kappa_data_structures.SetMap.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 )
Kappa_data_structures.SetMap.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