Skip to content

Commit

Permalink
docs(concepts): update sets examples to show correct output from func…
Browse files Browse the repository at this point in the history
…tion calls
  • Loading branch information
Joxtacy committed Feb 20, 2025
1 parent 600595e commit 74f921a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions concepts/sets/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ set.insert(eighty_eight, 89)
// -> set.from_list([88, 89])
set.delete(eighty_eight, 88)
// -> set.from_list([])
// -> set.from_list([89])
set.delete(eighty_eight, 89)
// -> set.from_list([88])
// -> set.from_list([])
```

You can query the contents of a set with the functions `set.contains`, and `set.size`.
Expand Down

0 comments on commit 74f921a

Please sign in to comment.