package stdune

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

Specialized tables for path. We do implement all of Hashtbl_intf.S - only what we use in dune.

type path := t
type key = path
type 'a t
val create : unit -> 'a t
val clear : 'a t -> unit
val mem : 'a t -> path -> bool
val set : 'a t -> path -> 'a -> unit
val remove : 'a t -> path -> unit
val iter : 'a t -> f:('a -> unit) -> unit
val find : 'a t -> path -> 'a option
val filteri_inplace : 'a t -> f:(key:path -> data:'a -> bool) -> unit
val filter_inplace : 'a t -> f:('a -> bool) -> unit
val to_dyn : ('a -> Dyn.t) -> 'a t -> Dyn.t
OCaml

Innovation. Community. Security.