ZNonEmptySetNonEmptyMultiSetOps

zio.prelude.ZNonEmptySetSyntax.ZNonEmptySetNonEmptyMultiSetOps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def head: A

Returns an element

Returns an element

Attributes

def peel: (A, MultiSet[A])

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

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

Attributes

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

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

Attributes

def tail: MultiSet[A]

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

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

Attributes

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

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

Attributes