package dolmen

  1. Overview
  2. Docs

Module TFF.TermSource

Sourcetype t = term
Sourceval equal : t -> t -> bool
Sourcemodule Var : sig ... end
Sourcemodule Cst : sig ... end
Sourceexception Not_first_order of t

exceptions raised by view functions on terms that cannot be represented as first-order.

Sourceval ty : t -> Ty.t

Return the type of a term.

Sourceval view : t -> < ty_var : Ty.Var.t ; term_var : Var.t ; term_cst : Cst.t ; builtin : builtin ; ty : Ty.t ; term : t.. > Dolmen_intf.View.TFF.Term.view

View function for terms.

  • raises Not_first_order_term

    if the term cannot be viewed as first-order.