package elpi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include SimpleTerm end
type t_ = SimpleTerm.t_ =
  1. | Impl of bool * t * t
  2. | Const of Scope.t * F.t
  3. | Discard
  4. | Var of F.t * t list
  5. | App of Scope.t * F.t * t * t list
  6. | Lam of (F.t * Scope.language) option * ScopedTypeExpression.SimpleType.t option * t
  7. | Opaque of Elpi_util.Util.CData.t
  8. | Cast of t * ScopedTypeExpression.SimpleType.t
and t = SimpleTerm.t = {
  1. it : t_;
  2. loc : Elpi_util.Util.Loc.t;
}
val pp_t_ : Ppx_deriving_runtime.Format.formatter -> t_ -> Ppx_deriving_runtime.unit
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
type constant = int
val mkBound : loc:Elpi_util.Util.Loc.t -> language:Scope.language -> F.t -> t
val mkAppGlobal : loc:Elpi_util.Util.Loc.t -> Elpi_util.Util.Constants.Map.key -> t -> t list -> t
val mkAppBound : loc:Elpi_util.Util.Loc.t -> language:Scope.language -> F.t -> t -> t list -> t
val mkVar : loc:Elpi_util.Util.Loc.t -> F.t -> t list -> t
val mkDiscard : loc:Elpi_util.Util.Loc.t -> t
val mkLam : loc:Elpi_util.Util.Loc.t -> (F.t * Scope.language) option -> ?ty:ScopedTypeExpression.SimpleType.t -> t -> t
val mkImplication : loc:Elpi_util.Util.Loc.t -> t -> t -> t
val mkConj : loc:Elpi_util.Util.Loc.t -> t list -> t
val mkEq : loc:Elpi_util.Util.Loc.t -> t -> t -> t
val mkNil : loc:Elpi_util.Util.Loc.t -> t
val mkCons : ?loc:Elpi_util.Util.Loc.t -> t -> t -> t
val list_to_lp_list : loc:Elpi_util.Util.Loc.t -> t list -> t
val ne_list_to_lp_list : t list -> t
val lp_list_to_list : t -> t list
val apply_elpi_var_from_quotation : SimpleTerm.t -> SimpleTerm.t list -> SimpleTerm.t
val extend_spill_hyp_from_quotation : SimpleTerm.t -> t list -> t
val is_spill_from_quotation : SimpleTerm.t -> bool
OCaml

Innovation. Community. Security.