Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Gamma_algo.GAMMA
val count : t -> int
Number of variables in the context.
push_local name typ gamma
Add the local variable with name
and typ
to the context.
Precondition
name <> ""
val type_of_literal : Term.Value.t -> t -> Term.typ
type_of_variable idx gamma
Return the type of the variable idx
. idx
is the De Bruijn index i.e. and index of 0
points to the last variable and an index of count
gamma - 1
points to the first variable.
val is_hole : int -> t -> bool