package abt

  1. Overview
  2. Docs

Parameters

Signature

module Variable = Variable.Var
type t
type 'a view =
  1. | VarView of Variable.t
  2. | AbsView of Variable.t * 'a
  3. | AppView of O.t * 'a list
exception Malformed
val into : t view -> t
val out : t -> t view
val aequiv : (t * t) -> bool
val map : ('a -> 'b) -> 'a view -> 'b view
val freevars : t -> Variable.t list
val subst : t -> Variable.t -> t -> t
val intoVar : Variable.t -> t
val intoAbs : Variable.t -> t -> t
val intoApp : O.t -> t list -> t
val (!!) : Variable.t -> t
val (^^) : Variable.t -> t -> t
val ($$) : O.t -> t list -> t
val to_string : t -> string
OCaml

Innovation. Community. Security.