package batteries

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Splay.MapSource

Parameters

Signature

include sig ... end
Sourcetype key = Ord.t
Sourceval empty : 'a t
Sourceval is_empty : 'a t -> bool
Sourceval cardinal : 'a t -> int
Sourceval update : key -> key -> 'a -> 'a t -> 'a t
Sourceval find_opt : key -> 'a t -> 'a option
Sourceval find_default : 'a -> key -> 'a t -> 'a
Sourceval find_first : (key -> bool) -> 'a t -> key * 'a
Sourceval find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
Sourceval find_last : (key -> bool) -> 'a t -> key * 'a
Sourceval find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
Sourceval remove_exn : key -> 'a t -> 'a t
Sourceval modify : key -> ('a -> 'a) -> 'a t -> 'a t
Sourceval modify_def : 'a -> key -> ('a -> 'a) -> 'a t -> 'a t
Sourceval modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
Sourceval extract : key -> 'a t -> 'a * 'a t
Sourceval pop : 'a t -> (key * 'a) * 'a t
Sourceval mem : key -> 'a t -> bool
Sourceval iter : (key -> 'a -> unit) -> 'a t -> unit
Sourceval map : ('a -> 'b) -> 'a t -> 'b t
Sourceval mapi : (key -> 'a -> 'b) -> 'a t -> 'b t
Sourceval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
Sourceval filterv : ('a -> bool) -> 'a t -> 'a t
Sourceval filter_map : (key -> 'a -> 'b option) -> 'a t -> 'b t
Sourceval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
Sourceval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
Sourceval keys : 'a t -> key BatEnum.t
Sourceval values : 'a t -> 'a BatEnum.t
Sourceval min_binding : 'a t -> key * 'a
Sourceval min_binding_opt : 'a t -> (key * 'a) option
Sourceval pop_min_binding : 'a t -> (key * 'a) * 'a t
Sourceval max_binding : 'a t -> key * 'a
Sourceval max_binding_opt : 'a t -> (key * 'a) option
Sourceval pop_max_binding : 'a t -> (key * 'a) * 'a t
Sourceval choose_opt : 'a t -> (key * 'a) option
Sourceval split : key -> 'a t -> 'a t * 'a option * 'a t
Sourceval partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a t
Sourceval singleton : key -> 'a -> 'a t
Sourceval bindings : 'a t -> (key * 'a) list
Sourceval enum : 'a t -> (key * 'a) BatEnum.t
Sourceval backwards : 'a t -> (key * 'a) BatEnum.t
Sourceval of_enum : (key * 'a) BatEnum.t -> 'a t
Sourceval for_all : (key -> 'a -> bool) -> 'a t -> bool
Sourceval exists : (key -> 'a -> bool) -> 'a t -> bool
Sourceval merge : (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
Sourceval union : (key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a t
Sourceval to_seq : 'a t -> (key * 'a) BatSeq.t
Sourceval to_rev_seq : 'a t -> (key * 'a) BatSeq.t
Sourceval to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
Sourceval add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
Sourceval of_seq : (key * 'a) BatSeq.t -> 'a t
Sourceval add_to_list : key -> 'a -> 'a list t -> 'a list t
Sourceval print : ?first:string -> ?last:string -> ?sep:string -> ?kvsep:string -> ('a BatInnerIO.output -> key -> unit) -> ('a BatInnerIO.output -> 'c -> unit) -> 'a BatInnerIO.output -> 'c t -> unit
Sourcemodule Exceptionless : sig ... end
Sourcemodule Infix : sig ... end
Sourcemodule Labels : sig ... end
Sourceval add : key -> 'a -> 'a t -> 'a t
Sourceval update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
Sourceval remove : key -> 'a t -> 'a t
Sourceval filter : (key -> 'a -> bool) -> 'a t -> 'a t
Sourceval print_as_list : ('a BatInnerIO.output -> key -> unit) -> ('a BatInnerIO.output -> 'c -> unit) -> 'a BatInnerIO.output -> 'c t -> unit
Sourceval of_list : (Ord.t * 'a) list -> 'a t
Sourceval to_list : 'a t -> (Ord.t * 'a) list
include module type of struct include Exceptionless end
Sourceval find : key -> 'a t -> 'a option
Sourceval choose : 'a t -> (key * 'a) option
Sourceval any : 'a t -> (key * 'a) option
OCaml

Innovation. Community. Security.