Packages

c

zio.prelude.ZNonEmptySetSyntax

ZNonEmptySetNonEmptyMultiSetOps

implicit final class ZNonEmptySetNonEmptyMultiSetOps[+A] extends AnyRef

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

Instance Constructors

  1. new ZNonEmptySetNonEmptyMultiSetOps(self: NonEmptyMultiSet[A])

Value Members

  1. def head: A

    Returns an element

  2. def peel: (A, MultiSet[A])

    Returns an element of this NonEmptyMultiSet and the remainder, which is a (possibly empty) MultiSet.

  3. def peelNonEmpty: (A, Option[NonEmptyMultiSet[A]])

    Returns an element of this NonEmptyMultiSet and the remainder or None, if the remainder is empty.

  4. def tail: MultiSet[A]

    Returns the tail of this NonEmptyMultiSet as a (possibly empty) MultiSet.

  5. def tailNonEmpty: Option[NonEmptyMultiSet[A]]

    Returns the tail of this NonEmptyMultiSet if it exists or None otherwise.