package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-1.18.2.tbz
sha256=bac398ba41d0fe1e1807196162b024313563366f7b86ae0802b23d6ef0f3cbf9
sha512=e9e9e14adf6ef929cd28516ddffdc67faafc7dbe683dce42818329fedc9d1a22992333d8948cb427fec5f5e442d9440c0f450d81a76c9c1e87050c434441cd74

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
OCaml

Innovation. Community. Security.