HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleAgda-2.7.0.1Haskell2010

Agda.Utils.List2

Lists of length at least 2.

Import as: import Agda.Utils.List2 (List2(List2)) import qualified Agda.Utils.List2 as List2

  • 1 type
  • 13 values
  • PackageAgda-2.7.0.1
  • Exports15
  • LanguageHaskell2010
  • LicenceMIT
  • SourceList2.hs
datadata List2 a
#

Lists of length ≥2.

Constructors

Instances16Functor, Foldable, Traversable, IsList, Eq, Ord, …
methodtoList :: l -> [Item l]
#

The toList function extracts a list of Item l from the structure l. It should satisfy fromList . toList = id.