package coq-core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type data =
  1. | Int of int
  2. | Ptr of int
  3. | Atm of int
  4. | Fun of int

Representation of data allocated on the OCaml heap.

type obj =
  1. | Struct of int * data array
  2. | Int64 of Int64.t
  3. | Float64 of float
  4. | String of string
module LargeArray : sig ... end

A data structure similar to arrays but allowing to overcome the 2^22 length limitation on 32-bit architecture.

val parse_channel : in_channel -> data * obj LargeArray.t
val parse_string : string -> data * obj LargeArray.t
Functorized version
module type Input = sig ... end

Type of inputs

module type S = sig ... end
module Make (M : Input) : S with type input = M.t

Functorized version of the previous code.

val instantiate : (data * obj LargeArray.t) -> Obj.t

Create the OCaml object out of the reified representation.

OCaml

Innovation. Community. Security.