package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.3.1.tbz
sha256=3186ebbf97d702e3cd5ebfa2aca50d9e93dd939a86c3db827dbde111656e3d5f
sha512=2ffafd7dbcaad4802fc2f076f90df36a1ce33dae1f0fa9226d45654a932a70e0a9f0627bbc703870561ad2d36a86039ad04c74393ccaf369c283eddb488525cf

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