thp-lang.org/md/learn/collections/sets.md

12 lines
103 B
Markdown

# Sets
```thp
// Set[Int]
let ages = Set(30, 31, 33, 35)
for age in ages {
print("{age}")
}
```