m17385.nim 173 B

123456789101112
  1. import std/sets
  2. type
  3. Diff*[T] = object
  4. data: T
  5. proc test*[T](diff: Diff[T]) =
  6. var bPopular = initHashSet[T]()
  7. for element in bPopular.items():
  8. echo element