Packages

object NonEmptySet

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEmptySet
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. implicit val NonEmptySetCommutativeEither: CommutativeEither[NonEmptySet]

    The CommutativeEither instance for NonEmptySet.

  2. implicit def NonEmptySetCommutativeIdempotent[A]: Commutative[NonEmptySet[A]] with Idempotent[NonEmptySet[A]]

    The Commutative and Idempotent (and thus Associative) instance for NonEmptySet.

  3. implicit def NonEmptySetDebug[A](implicit arg0: Debug[A]): Debug[NonEmptySet[A]]

    Derives a Debug[NonEmptySet[A]] given a Debug[A].

  4. implicit val NonEmptySetDeriveEqual: DeriveEqual[NonEmptySet]

    The DeriveEqual instance for NonEmptySet.

  5. implicit def NonEmptySetHashPartialOrd[A]: Hash[NonEmptySet[A]] with PartialOrd[NonEmptySet[A]]

    Derives a Hash[NonEmptySet[A]] and PartialOrd[NonEmptySet[A]] (and thus Equal[NonEmptyList[A]]) instance.

  6. implicit val NonEmptySetInvariant: Invariant[NonEmptySet]

    The Invariant instance for NonEmptySet.

  7. def apply[A](elem: A, others: A*): NonEmptySet[A]

    Creates a NonEmptySet with the specified elements.

    Creates a NonEmptySet with the specified elements.

    A

    the type of the NonEmptySet's elements

    elem

    an element of the created NonEmptySet

    others

    the remaining elements of the created NonEmptySet

    returns

    a new NonEmptySet with elements elem and others

  8. def fromIterable[A](head: A, tail: Iterable[A]): NonEmptySet[A]

    Constructs a NonEmptySet from an element and Iterable.

  9. def fromIterableOption[A](iterable: Iterable[A]): Option[NonEmptySet[A]]

    Constructs a NonEmptySet from an Iterable or None otherwise.

  10. def fromNonEmptyChunk[A](elems: NonEmptyChunk[A]): NonEmptySet[A]

    Constructs a NonEmptyChunk from a NonEmptyList.

  11. def fromNonEmptyList[A](elems: NonEmptyList[A]): NonEmptySet[A]

    Constructs a NonEmptySet from a NonEmptyList.

  12. def fromSet[A](elem: A, others: Set[A]): NonEmptySet[A]

    Constructs a NonEmptySet from an element and Set.

  13. def fromSetOption[A](set: Set[A]): Option[NonEmptySet[A]]

    Constructs a NonEmptySet from a Set or None otherwise.

  14. def single[A](head: A): NonEmptySet[A]

    Constructs a NonEmptySet with the specified single value.

  15. implicit def toSet[A](nonEmptySet: NonEmptySet[A]): Set[A]

    Provides an implicit conversion from NonEmptySet to the Set for interoperability with Scala's collection library.

  16. def unapply[A](arg: NonEmptySet[A]): Some[(A, Set[A])]
  17. def union[A](l: Set[A], r: NonEmptySet[A]): NonEmptySet[A]

    Creates a NonEmptySet containing elements from l and r

  18. def union[A](l: NonEmptySet[A], r: Set[A]): NonEmptySet[A]

    Creates a NonEmptySet containing elements from l and r