mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
12 lines
173 B
Nim
12 lines
173 B
Nim
import std/sets
|
|
|
|
type
|
|
Diff*[T] = object
|
|
data: T
|
|
|
|
proc test*[T](diff: Diff[T]) =
|
|
var bPopular = initHashSet[T]()
|
|
for element in bPopular.items():
|
|
echo element
|
|
|