HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

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
  • 30 values
  • PackageAgda-2.8.0.2
  • Exports39
  • LanguageHaskell2010
  • LicenceMIT
  • SourceSizedTypes.hs

Builtins

4 declarations

Testing for type Size

5 declarations
datadata BoundedSize
#

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

Constructors

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

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

Methods

Instances5IsSizeType

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