The CommutativeEither
instance for NonEmptySet
.
The Commutative
and Idempotent
(and thus Associative
) instance for NonEmptySet
.
Derives a Debug[NonEmptySet[A]]
given a Debug[A]
.
The DeriveEqual
instance for NonEmptySet
.
Derives a Hash[NonEmptySet[A]]
and PartialOrd[NonEmptySet[A]]
(and thus Equal[NonEmptyList[A]]
) instance.
The Invariant
instance for NonEmptySet
.
Creates a NonEmptySet
with the specified elements.
Creates a NonEmptySet
with the specified elements.
the type of the NonEmptySet
's elements
an element of the created NonEmptySet
the remaining elements of the created NonEmptySet
a new NonEmptySet
with elements elem
and others
Constructs a NonEmptySet
from an element and Iterable
.
Constructs a NonEmptySet
from an Iterable
or None
otherwise.
Constructs a NonEmptyChunk
from a NonEmptyList
.
Constructs a NonEmptySet
from a NonEmptyList
.
Constructs a NonEmptySet
from an element and Set
.
Constructs a NonEmptySet
from a Set
or None
otherwise.
Constructs a NonEmptySet
with the specified single value.
Provides an implicit conversion from NonEmptySet
to the Set
for interoperability with Scala's collection library.
Creates a NonEmptySet
containing elements from l
and r
Creates a NonEmptySet
containing elements from l
and r