package melange

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

Weak array operations

type !'a t
val additional_values : int

number of additional values in a weak pointer * - Link * - Data

val create : int -> 'a t
val length : 'a -> int
val raise_if_invalid_offset : 'a -> int -> string -> unit
val set' : 'a t -> int -> 'a -> unit
val unset : 'a t -> int -> unit
val set : 'a t -> int -> 'b option -> unit
val get : 'a t -> int -> 'a option
val get_copy : 'a t -> int -> 'a option
val check : 'a t -> int -> bool
val blit : 'a t -> int -> 'a t -> int -> int -> unit
val fill : 'a t -> int -> int -> 'a option -> unit

Weak hash tables

module type S = sig ... end
module Make (H : Hashtbl.HashedType) : S with type data = H.t
OCaml

Innovation. Community. Security.