Skip to content

Commit a59cc8a

Browse files
xperiandriclaude
andcommitted
fixup! feat: HashMap and IMap modules with the vocabulary of the FSharp.Core Map module
The helpers of the branch get the documentation of `Arrays` and `ParallelArrays` (the review of #40 and #31): an explicit `<summary>`, `<param>`, `<returns>` and `<remarks>` for every function, `<see cref>` for every function of FSharp.Core, and a remark that says why the function exists. - `Dictionaries`: the summaries, the descriptions of the parameters and of the results are those of the functions of the FSharp.Core `Map` module where the signatures agree. Each remark says what differs: the FSharp.Core function takes an F# map, the bindings here are the pairs of a dictionary of the BCL, `tryFindKey` and `tryPick` use value options, `foldBack` copies the bindings because an enumerator moves only forwards, `choose`, `map`, `filter` and `partition` fill a target that the caller creates with the comparers it wants, and `toArray`, `toList` and `toSeq` take the constructor of the tuples, for the default and the `Tuple` modules. `setAll` says that the indexer keeps the stored binding for a value that the value comparer finds equal (ADR 0001, D14). `choose`, `splitKeyValuePair`, `splitTuple`, `setAll` and `toKeyValuePairs` say that FSharp.Core has no such function. - `Raise.keyNotFound`: the exception, the result and the difference from `indexNotFound`. No code changed: without the doc comments, both files are identical to the files before. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 6b919d7 commit a59cc8a

2 files changed

Lines changed: 377 additions & 24 deletions

File tree

0 commit comments

Comments
 (0)