Agda-2.3.0.1: A dependently typed functional programming language and proof assistant

Safe HaskellSafe-Infered

Agda.TypeChecking.Reduce

Contents

Synopsis

Documentation

traceFun' :: Show a => String -> TCM a -> TCM aSource

class Instantiate t whereSource

Instantiate something. Results in an open meta variable or a non meta. Doesn't do any reduction, and preserves blocking tags (when blocking meta is uninstantiated).

Methods

instantiate :: t -> TCM tSource

class Reduce t whereSource

Methods

reduce :: t -> TCM tSource

reduceB :: t -> TCM (Blocked t)Source

Instances

unfoldDefinition :: Bool -> (Term -> TCM (Blocked Term)) -> Term -> QName -> Args -> TCM (Blocked Term)Source

If the first argument is True, then a single delayed clause may be unfolded.

Normalisation

Full instantiation

telViewM :: Type -> TCM TelViewSource

telViewM t is like telView' t, but it reduces t to expose function type constructors.