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