This website requires JavaScript.
Explore
Help
Sign In
fernando
/
thp-lang.org
Watch
1
Star
0
Fork
0
You've already forked thp-lang.org
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
2cab819c40
thp-lang.org
/
md
/
learn
/
collections
/
sets.md
12 lines
103 B
Markdown
Raw
Normal View
History
Unescape
Escape
Improve landing page
2023-10-02 01:41:38 +00:00
# Sets
```thp
// Set[Int]
Change syntax from val/var to let (mut)
2023-12-17 01:33:55 +00:00
let ages = Set(30, 31, 33, 35)
Improve landing page
2023-10-02 01:41:38 +00:00
for age in ages {
print("{age}")
}
```
Reference in New Issue
Copy Permalink