Skip to content

Commit d24fdc1

Browse files
xperiandriclaude
andcommitted
fixup! docs: HashSet and ISet in the changelog and the collection table
The sentence about the null checks of `HashSet` also names the default flat list that is given as a sequence, and says that `yield!` and `for` of `hashSet { }` do the same. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 60ad1e1 commit d24fdc1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5151
* `add`, `addRange`, `remove`, `removeRange`, `clear`, `update`, `filter` and `partition` of `HashSet` keep the comparer
5252
of their input, and the set algebra keeps the comparer of the first hash set; `map`, `choose` and `partitionWith`
5353
compare with the default comparer of the result type. Every function throws `ArgumentNullException` for a `null` hash
54-
set, sequence or array. `unionMany` of an empty sequence returns an empty hash set, as `Set.unionMany` does.
54+
set, sequence or array, and for a default flat list that is given as a sequence; `yield!` and `for` of
55+
`hashSet { }` do the same. `unionMany` of an empty sequence returns an empty hash set, as `Set.unionMany` does.
5556
`tryGetValue` returns a `voption`, `choose` takes a function that returns a `voption`, and `partition` and
5657
`partitionWith` return struct tuples.
5758
* The set algebra and the relations of `HashSet` take hash sets, as the `Set` functions do. The BCL members that take a

0 commit comments

Comments
 (0)