package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.5.tbz
sha256=71c93a5ea0bdf19f656f70984bc2bf681d5639c9230325f3675e2f5f8d6726f2
sha512=d6a87bf1ba6bfb6f773075295137d037e007252ecf16aa026c151df11bc498efe56d5d5369920c2dad3b53373cba75378731cd752d08e07353a1c68063d2cd2a

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