package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Irmin_pack.Pack_value end
type nonrec weight =
  1. | Immediate of int
  2. | Deferred of unit -> int
type nonrec kinded = ..

kinded is an extenisble variant that each S extends so that it can define S.to_kinded and S.of_kinded. Its purpose is to allow containers, such as Irmin_pack_unix.Lru, to store and return all types of S and thus be usable by modules defined over S, such as Irmin_pack_unix.Pack_store.

module type S = Irmin_pack.Pack_value.S
module type Config = Irmin_pack.Pack_value.Config
module type Persistent = sig ... end
OCaml

Innovation. Community. Security.