Types whose non-empty list representation can be converted to and from the type without losing non-emptiness.
Methods
fromNonEmptyList :: NonEmpty (Item nes) -> nestoNonEmptyList :: nes -> NonEmpty (Item nes)
Instances5IsNonEmptyList
IsNonEmptyList NEIntSetDefined in nonempty-containers-0.3.6.0 · Data.Containers.NonEmpty.ListOrd a => IsNonEmptyList (NESet a)Defined in nonempty-containers-0.3.6.0 · Data.Containers.NonEmpty.ListIsNonEmptyList (NEIntMap a)Defined in nonempty-containers-0.3.6.0 · Data.Containers.NonEmpty.ListIsNonEmptyList (NESeq a)Defined in nonempty-containers-0.3.6.0 · Data.Containers.NonEmpty.ListOrd k => IsNonEmptyList (NEMap k a)Defined in nonempty-containers-0.3.6.0 · Data.Containers.NonEmpty.List