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.compiler/Elpi_compiler/Compiler_data/ScopeContext/index.html

Module Compiler_data.ScopeContextSource

Sourcetype language = string
Sourceval compare_language : language -> language -> Ppx_deriving_runtime.int
Sourcetype ctx = {
  1. vmap : (language * F.t * F.t) list;
  2. uvmap : (F.t * F.t) list ref;
}
Sourceval empty : unit -> ctx
Sourceval eq_var : ctx -> language -> F.t -> F.t -> bool
Sourceval cmp_var : ctx -> language -> F.t -> F.t -> int
Sourceval purge : 'a -> (('b * 'c) -> F.t) -> F.t -> ('a * 'b * 'c) list -> ('a * 'b * 'c) list
Sourceval push_ctx : language -> F.t -> F.t -> ctx -> ctx
Sourceval eq_uvar : ctx -> F.t -> F.t -> bool