package lambda-term

  1. Overview
  2. Docs
type t
val create : ?max_size:int -> ?max_entries:int -> Zed_utf8.t list -> t
val add : t -> ?skip_empty:bool -> ?skip_dup:bool -> Zed_utf8.t -> unit
val contents : t -> Zed_utf8.t list
val size : t -> int
val length : t -> int
val old_count : t -> int
val set_old_count : t -> int -> unit
val max_size : t -> int
val set_max_size : t -> int -> unit
val max_entries : t -> int
val set_max_entries : t -> int -> unit
val load : t -> ?log:(int -> string -> unit) -> ?skip_empty:bool -> ?skip_dup:bool -> string -> unit Lwt.t
val save : t -> ?max_size:int -> ?max_entries:int -> ?skip_empty:bool -> ?skip_dup:bool -> ?append:bool -> ?perm:int -> string -> unit Lwt.t
val entry_size : Zed_utf8.t -> int
OCaml

Innovation. Community. Security.