package elpi

  1. Overview
  2. Docs
ELPI - Embeddable λProlog Interpreter

Install

Dune Dependency

Authors

Maintainers

Sources

elpi-3.0.0.tbz
sha256=424e5a4631f5935a1436093b614917210b00259d16700912488ba4cd148115d1
sha512=fa54ce05101fafe905c6db2e5fa7ad79d714ec3b580add4ff711bad37fc9545a58795f69056d62f6c18d8c87d424acc1992ab7fb667652e980d182d4ed80ba16

doc/elpi.util/Elpi_util/Util/CData/index.html

Module Util.CDataSource

Sourcetype t
Sourceval pp : Stdlib.Format.formatter -> t -> unit
Sourceval show : t -> string
Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int
Sourcetype 'a data_declaration = {
  1. data_name : string;
  2. data_pp : Stdlib.Format.formatter -> 'a -> unit;
  3. data_compare : 'a -> 'a -> int;
  4. data_hash : 'a -> int;
  5. data_hconsed : bool;
}
Sourcetype 'a cdata = private {
  1. cin : 'a -> t;
  2. isc : t -> bool;
  3. cout : t -> 'a;
  4. name : string;
}
Sourceval declare : 'a data_declaration -> 'a cdata
Sourceval hash : t -> int
Sourceval name : t -> string
Sourceval hcons : t -> t
Sourceval morph1 : 'a cdata -> ('a -> 'a) -> t -> t
Sourceval ty2 : 'a cdata -> t -> t -> bool
Sourceval morph2 : 'a cdata -> ('a -> 'a -> 'a) -> t -> t -> t
Sourceval map : 'a cdata -> 'b cdata -> ('a -> 'b) -> t -> t
OCaml

Innovation. Community. Security.