package elpi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val pp_typ : Ppx_deriving_runtime.Format.formatter -> typ -> Ppx_deriving_runtime.unit
val compare_typ : typ -> typ -> Ppx_deriving_runtime.int
type t_ =
  1. | Const of Func.t
  2. | App of t * t list
  3. | Lam of Func.t * typ option * t
  4. | CData of Elpi_util.Util.CData.t
  5. | Quoted of quote
  6. | Cast of t * typ
  7. | Parens of t
and t = {
  1. it : t_;
  2. loc : Loc.t;
}
and quote = {
  1. qloc : Loc.t;
  2. data : string;
  3. kind : string option;
}
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
val pp_quote : Ppx_deriving_runtime.Format.formatter -> quote -> Ppx_deriving_runtime.unit
val compare_t_ : t_ -> t_ -> Ppx_deriving_runtime.int
val compare : t -> t -> Ppx_deriving_runtime.int
val compare_quote : quote -> quote -> Ppx_deriving_runtime.int
exception NotInProlog of Loc.t * string
val mkApp : Loc.t -> t list -> t
val mkParens : Loc.t -> t -> t
val mkAppF : Loc.t -> (Loc.t * Func.t) -> t list -> t
val mkCon : Loc.t -> string -> t
val mkConst : Loc.t -> Func.t -> t
val mkNil : Loc.t -> t
val mkSeq : ?loc:Loc.t -> t list -> t
val mkQuoted : Loc.t -> string -> t
val mkFreshUVar : Loc.t -> t
val mkFreshName : Loc.t -> t
val mkLam : Loc.t -> string -> typ option -> t -> t
val mkCast : Loc.t -> t -> typ -> t
OCaml

Innovation. Community. Security.