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

Safe HaskellSafe-Infered

Agda.TypeChecking.SizedTypes

Synopsis

Documentation

compareSizes :: Comparison -> Term -> Term -> TCM ()Source

Compare two sizes. Only with --sized-types.

getSizeConstraints :: TCM [SizeConstraint]Source

Find the size constraints.

data SizeExpr Source

Constructors

SizeMeta MetaId [CtxId] 
Rigid CtxId 

Instances

sizeExpr :: Term -> TCM (SizeExpr, Int)Source

Throws a patternViolation if the term isn't a proper size expression.