set

object set extends SetInstances with SetFunctions
class Object
trait Matchable
class Any

Implicits

Inherited implicits

implicit
val setInstance: Foldable[Set] & IsEmpty[Set]
Inherited from
SetInstances
implicit
def setMonoid[A]: Monoid[Set[A]] & SemiLattice[Set[A]]
Inherited from
SetInstances
implicit
def setOrder[A : Order]: Order[Set[A]]

We could derive set equality from Equal[A], but it would be O(n^2). Instead, we require Order[A], reducing the complexity to O(log n)

We could derive set equality from Equal[A], but it would be O(n^2). Instead, we require Order[A], reducing the complexity to O(log n)

If Equal[A].equalIsNatural == true, than Any#== is used.

Inherited from
SetInstances
implicit
def setShow[A](implicit A: Show[A]): Show[Set[A]]
Inherited from
SetInstances