Check whether a type is empty.
ModuleAgda-2.7.0.1Haskell2010
Agda.TypeChecking.Empty
- 4 values
- PackageAgda-2.7.0.1
- Exports4
- LanguageHaskell2010
- LicenceMIT
- SourceEmpty.hs
Check whether some type in a telescope is empty.
value
ensureEmptyType Ensure that a type is empty. This check may be postponed as emptiness constraint.
Check whether one of the types in the given telescope is constructor-less and if yes, return its index in the telescope (0 = leftmost).