package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.2.0.tbz
sha256=cfe271ae33cd8d682082a5081d36db5e4e858571909811bb97c4ecd0c4053a61
sha512=e0745da1ee6c74256369cf7d8df5898f9af9d35c0444b25f2e3d08efd64040634464c4139ec7d8caa7e85b4bbae3e3cbfbb824c0b53cbe740d451d338788c6f3

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