Module
Data.List.Types
- Package
- purescript-lists
- Repository
- purescript/purescript-lists
#NonEmptyList Source
newtype NonEmptyList a
Constructors
NonEmptyList (NonEmpty List a)
Instances
Newtype (NonEmptyList a) _
(Eq a) => Eq (NonEmptyList a)
(Ord a) => Ord (NonEmptyList a)
(Show a) => Show (NonEmptyList a)
Functor NonEmptyList
Apply NonEmptyList
Applicative NonEmptyList
Bind NonEmptyList
Monad NonEmptyList
Alt NonEmptyList
Extend NonEmptyList
Comonad NonEmptyList
Semigroup (NonEmptyList a)
Foldable NonEmptyList
Traversable NonEmptyList
Foldable1 NonEmptyList
Traversable1 NonEmptyList
#nelCons Source
nelCons :: forall a. a -> NonEmptyList a -> NonEmptyList a