package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type k = Stdlib.Int32.t
val empty : t
val sg : k -> p -> t
val (++) : t -> t -> t
val is_empty : t -> bool
val size : t -> int
val mem : k -> t -> bool
val find : k -> t -> p option
val add : k -> p -> t -> t
val push : k -> p -> t -> t
val remove : k -> t -> t
val adjust : k -> (p -> p) -> t -> t
val update : k -> (p option -> p option) -> t -> t
val split_at : k -> t -> t * t
val min : t -> (k * p) option
val rest : t -> t option
val pop : t -> ((k * p) * t) option
val fold_at_most : p -> (k -> p -> 'a -> 'a) -> 'a -> t -> 'a
val iter_at_most : p -> (k -> p -> unit) -> t -> unit
val to_seq_at_most : p -> t -> (k * p) Stdlib.Seq.t
val of_list : (k * p) list -> t
val of_sorted_list : (k * p) list -> t
val of_seq : (k * p) Stdlib.Seq.t -> t
val add_seq : (k * p) Stdlib.Seq.t -> t -> t
val to_list : t -> (k * p) list
val to_seq : t -> (k * p) Stdlib.Seq.t
val fold : (k -> p -> 'a -> 'a) -> 'a -> t -> 'a
val iter : (k -> p -> unit) -> t -> unit
val to_priority_list : t -> (k * p) list
val to_priority_seq : t -> (k * p) Stdlib.Seq.t
val filter : (k -> p -> bool) -> t -> t
val partition : (k -> p -> bool) -> t -> t * t
val pp : ?sep:(Stdlib.Format.formatter -> unit -> unit) -> (Stdlib.Format.formatter -> (k * p) -> unit) -> Stdlib.Format.formatter -> t -> unit
val pp_dump : (Stdlib.Format.formatter -> k -> unit) -> (Stdlib.Format.formatter -> p -> unit) -> Stdlib.Format.formatter -> t -> unit
val depth : t -> int
OCaml

Innovation. Community. Security.