msetiter2.nim 90 B

12345
  1. import sets, sequtils
  2. proc dedupe*[T](arr: openArray[T]): seq[T] =
  3. arr.toHashSet.toSeq