DA.NonEmpty.Types
This module contains the type for non-empty lists so we can give it a stable package id. This is reexported from DA.NonEmpty so you should never need to import this module.Module Snapshot
Lifecycle
Stable.
Notices
Status:
active
Introduced in: 3.4.9
Removed in: -
Warnings: 0
Deprecations: 0
Deprecated since: -Data Types
data NonEmpty a
NonEmpty is the type of non-empty lists. In other words, it is the type of lists
that always contain at least one element. If x is a non-empty list, you can obtain
the first element with x.hd and the rest of the list with x.tl.
Constructors:
NonEmpty
a
[a]
- instance
FoldableNonEmpty - instance
ActionNonEmpty - instance
ApplicativeNonEmpty - instance
Semigroup(NonEmptya) - instance
GetFieldhd(NonEmptya)a - instance
GetFieldtl(NonEmptya) [a] - instance
SetFieldhd(NonEmptya)a - instance
SetFieldtl(NonEmptya) [a] - instance
IsParties(NonEmptyParty) - instance
TraversableNonEmpty - instance
Serializablea=>Serializable(NonEmptya) - instance
FunctorNonEmpty - instance
Eqa=>Eq(NonEmptya) - instance
Orda=>Ord(NonEmptya) - instance
Showa=>Show(NonEmptya)