Attributes
- Companion
- class
- Source
- NonEmptySet.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NonEmptySet.type
Members list
Value members
Concrete methods
Creates a NonEmptySet with the specified elements.
Creates a NonEmptySet with the specified elements.
Type parameters
- A
-
the type of the
NonEmptySet's elements
Value parameters
- elem
-
an element of the created
NonEmptySet - others
-
the remaining elements of the created
NonEmptySet
Attributes
- Returns
-
a new
NonEmptySetwith elementselemandothers - Source
- NonEmptySet.scala
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.
Attributes
- Source
- NonEmptySet.scala
Creates a NonEmptySet containing elements from l and r
Creates a NonEmptySet containing elements from l and r
Implicits
Implicits
The CommutativeEither instance for NonEmptySet.
The Commutative and Idempotent (and thus Associative) instance for NonEmptySet.
The Commutative and Idempotent (and thus Associative) instance for NonEmptySet.
Attributes
- Source
- NonEmptySet.scala
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.
Derives a Hash[NonEmptySet[A]] and PartialOrd[NonEmptySet[A]] (and thus Equal[NonEmptyList[A]]) instance.
Attributes
- Source
- NonEmptySet.scala
The Invariant instance for NonEmptySet.
Provides an implicit conversion from NonEmptySet to the Set for interoperability with Scala's collection library.
Provides an implicit conversion from NonEmptySet to the Set for interoperability with Scala's collection library.
Attributes
- Source
- NonEmptySet.scala