union method

ISet<A> union(
  1. ISet<A> other
)

Implementation

ISet<A> union(ISet<A> other) => other._tree.foldLeft(this, (p, A a) => p.insert(a));