package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.0.tbz
sha256=9955d95d69b1ffb6770daad42f2b15d44a8888843817dff272d44ef8a3480b5a
sha512=408bfb46efeba45d0c5e36e8478d9e9b2f01f38de88c10621deeedc69e4c2b007d859fec520ef5652ab33bf00106edbda421f16503eeff397ceb57a61e01fce2

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