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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

Agda.Utils.Size

Collection size.

For TermSize see Agda.Syntax.Internal.

  • 2 types
  • 1 class
  • 1 value
  • PackageAgda-2.8.0.2
  • Exports4
  • LanguageHaskell2010
  • LicenceMIT
  • SourceSize.hs
classclass Sized a where
#

The size of a collection (i.e., its length).

Methods

Instances18Sized, …
  • Sized ModuleNameDefined in Agda-2.8.0.2 · Agda.Syntax.Abstract.Name
  • Sized QNameDefined in Agda-2.8.0.2 · Agda.Syntax.Abstract.Name
  • Sized RawTopLevelModuleNameDefined in Agda-2.8.0.2 · Agda.Syntax.TopLevelModuleName
  • Sized TopLevelModuleNameDefined in Agda-2.8.0.2 · Agda.Syntax.TopLevelModuleName · orphan
  • Sized OccursWhereDefined in Agda-2.8.0.2 · Agda.TypeChecking.Positivity.Occurrence
  • Sized PermutationDefined in Agda-2.8.0.2 · Agda.Utils.Permutation
  • Sized IntSetDefined in Agda-2.8.0.2 · Agda.Utils.Size
  • Sized (Tele a)Defined in Agda-2.8.0.2 · Agda.Syntax.Internal

    The size of a telescope is its length (as a list).

  • Sized (List1 a)Defined in Agda-2.8.0.2 · Agda.Utils.Size
  • Sized (SizedThing a)Defined in Agda-2.8.0.2 · Agda.Utils.Size

    Return the cached size.

  • Sized (IntMap a)Defined in Agda-2.8.0.2 · Agda.Utils.Size
  • Sized (Seq a)Defined in Agda-2.8.0.2 · Agda.Utils.Size
  • Sized (Set a)Defined in Agda-2.8.0.2 · Agda.Utils.Size
  • Sized (HashSet a)Defined in Agda-2.8.0.2 · Agda.Utils.Size
  • Sized [a]Defined in Agda-2.8.0.2 · Agda.Utils.Size
  • Sized a => Sized (Abs a)Defined in Agda-2.8.0.2 · Agda.Syntax.Internal
  • Sized (Map k a)Defined in Agda-2.8.0.2 · Agda.Utils.Size
  • Sized (HashMap k a)Defined in Agda-2.8.0.2 · Agda.Utils.Size
datadata Peano
#

The natural numbers in (lazy) unary notation.

Constructors

Instances13Bounded, Enum, Eq, Integral, Data, Num, …