The ForEach
instance for MultiSet
.
Derives a Commutative[ZSet[A, B]]
given a Commutative[B]
.
The Covariant
instance for ZSet
.
Derives a Debug[ZSet[A, B]]
given a Debug[A]
and Debug[B]
.
The EqualF
instance for ZSet
.
Derives an Equal[ZSet[A, B]]
given an Equal[B]
.
Derives an Equal[ZSet[A, B]]
given an Equal[B]
. Due to the
limitations of Scala's Map
, this uses object equality on the keys.
Derives a Hash[ZSet[A, B]]
given a Hash[B]
.
Derives a Hash[ZSet[A, B]]
given a Hash[B]
. Due to the
limitations of Scala's Map
, this uses object equality on the keys.
Derives a Idempotent[ZSet[A, B]]
given a Idempotent[B]
.
Derives a Identity[ZSet[A, B]]
given a Identity[B]
.
The IdentityFlatten
instance for ZSet
.
Derives a PartialOrd[ZSet[A, B]]
given a PartialOrd[B]
.
Derives a PartialOrd[ZSet[A, B]]
given a PartialOrd[B]
.
Due to the limitations of Scala's Map
, this uses object equality on the keys.
Constructs a set with the specified elements.
The empty set.
Constructs a set from the specified Iterable
.
Constructs a set from the specified Iterable
. The measure of how many
times a value occurs in the set will be an integer representing how many
times the value occurred in the specified Iterable
.
Constructs a set from the specified Map
.
Constructs a set from the specified Map
. The values will be the keys in
the Map
and the measure of how many times a value occurs will be the
keys value.
Constructs a set from the specified Set
.
Constructs a set from the specified Set
. The measure of how many times
a value occurs in the set will be a boolean representing whether a value
occurs at all.