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.List2

Lists of length at least 2.

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

  • 1 type
  • 15 values
  • PackageAgda-2.8.0.2
  • Exports17
  • LanguageHaskell2010
  • LicenceMIT
  • SourceList2.hs
datadata List2 a
#

Lists of length ≥2.

Constructors

Instances17Functor, 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.