Additional operations on Expr and related types #
This file defines basic operations on the types expr, name, declaration, level, environment.
This file is mostly for non-tactics.
Converts an Expr
into a Syntax
, by creating a fresh metavariable
assigned to the expr and returning a named metavariable syntax ?a
.
Equations
Instances For
@[inline]
Like getAppArgs
but ignores metadata.
Equations
Instances For
@[inline]
Like getAppRevArgs
but ignores metadata.
Equations
Instances For
@[inline]
Like getArgD
but ignores metadata.
Equations
Instances For
Like isAppOf
but ignores metadata.
Equations
Instances For
Turns an expression that is a natural number literal into a natural number.
Equations
Instances For
Turns an expression that is a constructor of Int
applied to a natural number literal
into an integer.