msetiter1.nim 140 B

12345678
  1. import sets
  2. proc initH*[V]: HashSet[V] =
  3. result = initHashSet[V]()
  4. proc foo*[V](h: var HashSet[V], c: seq[V]) =
  5. h = h + c.toHashSet()