The Associative
instance for NonEmptyList
.
The AssociativeEither
instance for NonEmptyList
.
The CommutativeBoth
instance for NonEmptyList
.
The CommutativeBoth
instance for NonEmptyList
.
The Covariant
instance for NonEmptyList
.
Derives a Debug[NonEmptyList[A]]
given a Debug[A]
.
The DeriveEqual
instance for NonEmptyList
.
Derives an Equal[NonEmptyList[A]]
given an Equal[A]
.
Derives a Hash[NonEmptyList[A]]
given a Hash[A]
.
The IdentityBoth
(and thus AssociativeBoth
) instance for NonEmptyList
.
The IdentityFlatten
instance for NonEmptyList
.
The NonEmptyForEach
instance for NonEmptyList
.
Derives an Ord[NonEmptyList[A]]
given an Ord[A]
.
Derives an Ord[NonEmptyList[A]]
given an Ord[A]
.
Derives a PartialOrd[NonEmptyList[A]]
given a PartialOrd[A]
.
Derives a PartialOrd[NonEmptyList[A]]
given a PartialOrd[A]
.
Constructs a NonEmptyList
from one or more values.
Constructs a NonEmptyList
with the specified head and tail.
Constructs a NonEmptyList
from the ::
case of a List
.
Constructs a NonEmptyList
from an element and Iterable
.
Constructs a NonEmptyList
from an Iterable
or None
otherwise.
Constructs a NonEmptyList
from a NonEmptyChunk
.
Constructs a NonEmptyList
from an initial state start
by repeatedly
applying iterate
as long as it returns Some
.
Constructs a NonEmptyList
with the specified single value.
Provides an implicit conversion from NonEmptyList
to the ::
case of
List
for interoperability with Scala's collection library.
Constructs a NonEmptyList
from an initial state start
by repeatedly
applying iterate
as long as it returns Some
, using the function
project
to map each S
value to an A
value.