HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

ModuleAgda-2.7.0.1Haskell2010

Agda.TypeChecking.Monad.SizedTypes

Stuff for sized types that does not require modules Agda.TypeChecking.Reduce or Agda.TypeChecking.Constraints (which import Agda.TypeChecking.Monad).

  • 8 types
  • 1 class
  • 31 values
  • PackageAgda-2.7.0.1
  • Exports40
  • LanguageHaskell2010
  • LicenceMIT
  • SourceSizedTypes.hs

Testing for type Size

10 declarations
datadata BoundedSize
#

Result of querying whether size variable i is bounded by another size.

Constructors

Instances2Eq, Show
  • Eq BoundedSizeDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.SizedTypes
  • Show BoundedSizeDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.SizedTypes
classclass IsSizeType a where
#

Check if a type is the primSize type. The argument should be reduced.

Methods

Instances5IsSizeType
valuehaveSizedTypes :: TCM Bool
#

Test whether OPTIONS --sized-types and whether the size built-ins are defined.

Constructors

8 declarations
valuesizeSort :: Sort
#

The sort of built-in types SIZE and SIZELT.

valuesizeUniv :: Type
#

The type of built-in types SIZE and SIZELT.

Viewing and unviewing sizes

15 declarations

View on sizes where maximum is pulled to the top

7 declarations