package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.0.tbz
sha256=9955d95d69b1ffb6770daad42f2b15d44a8888843817dff272d44ef8a3480b5a
sha512=408bfb46efeba45d0c5e36e8478d9e9b2f01f38de88c10621deeedc69e4c2b007d859fec520ef5652ab33bf00106edbda421f16503eeff397ceb57a61e01fce2

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

Module Util.CDataSource

Sourcetype t
Sourceval pp : 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 : 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