package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.1.tbz
sha256=deb40fc3dd5d1c0aa9eb52931e4d54384aa1e6cc96ad9675575ff5784f1cc88f
sha512=71092d086b9ad72a5b6e08ecfa2fa896bd109730c1896ff0cfe7465be6d7dc5faff033e0bd518e450279925e38ac1cb254ce18f90235b3492508ce346a3d1efc

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