HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

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

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