Repository navigation
chore: the review fixes of #31 in the files of main, and FlatList.clear - #54
xperiandri wants to merge 6 commits into
Conversation
It returns the empty flat list, as `ImmutableArray.Clear` does, and rejects a default flat list as the other functions of the module do. `IndexedList`, `Queue` and `Stack` get a `clear` in their pull requests, so that the modules of the lists do not differ in it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h `'` instead of `^` F# 7 accepts both for a statically resolved type parameter, and the signatures of the assembly and the generated documentation are the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comments only; the code without them is the same. The references to the ADRs leave the comments: the documentation of the internal modules is in the XML of the package too, and a reader of it has no ADR. The cases of the option types are `<see cref>`, not `<c>`. `<summary>` and `<remarks>` take one line each when their own text has up to 60 characters, whatever the length of the other one. `FlatListCE` is left to #52, which changes the file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n length The rule tied the layout of the two elements together, so that a remark such as `O(1).` took three lines under a long summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 51 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…he defects that they are about
`FlatList.except` removed objects from a list that has none of them, so the test passed for a function that ignores the items
to exclude. The resource of `use` and the compensation of `try finally` in `flatList { }` have to wait for the end of the
body: the tests passed also for an expression that disposes the resource first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The review of #31 found things that are in the files of
maintoo. The open pull requests fix them in the lines that they add, so the lines ofmainneed a pull request of their own. Nothing here changes a file that an open pull request deletes.One commit for each thing:
FlatList.clearreturns the empty flat list, asImmutableArray.Cleardoes, and rejects a default flat list as the other functions of the module do.IndexedList,QueueandStackget theirclearin feat:IndexedListandIIndexedListmodules with the vocabulary of the FSharp.CoreListmodule #31, feat:QueueandIQueuemodules with the vocabulary of the FSharp.CoreListmodule #33 and feat:StackandIStackmodules with the vocabulary of the FSharp.CoreListmodule #34.'instead of^in the inline functions ofFlatList,FlatList.Paralleland the assert extensions of the tests. The XML documentation and the signatures of the assembly are byte for byte the same before and after the commit.src,testsandbuild; the cases of the option types are<see cref>instead of<c>;<summary>and<remarks>take one line each when their own text has up to 60 characters..github/copilot-instructions.mdfor the layout of<summary>and<remarks>: the two are independent.What is left to the pull requests that change the same lines, so that the branches do not conflict:
FlatListCEis in feat:flatList { }loops over a flat list and an array without boxing #52, which has the fixes and the overloads ofyield!andforfor spans and memories;FlatList.Parallel.collectis in perf:FlatList.insertManyAtandFlatList.concatcopy the elements once #53, and the comment ofIndexedContractis in feat:IndexedListandIIndexedListmodules with the vocabulary of the FSharp.CoreListmodule #31.Verification
--warnon:3390, 2783 tests onnet8.0and onnet10.0,dotnet fantomas --check, theCheckOrdertarget.git merge-treemerges the branch without a conflict with docs: add ADR 0001 for the per-collection module rewrite #23, docs: add ADR 0002 for EquatableArray #24, feat: addEquatableArray<'T>(step 1 of ADR 0002) #28, feat:HashSetandISetmodules with the vocabulary of the FSharp.CoreSetmodule #29, feat:HashMapandIMapmodules with the vocabulary of the FSharp.CoreMapmodule #30, feat:IndexedListandIIndexedListmodules with the vocabulary of the FSharp.CoreListmodule #31, feat:flatList { }loops over a flat list and an array without boxing #52 and perf:FlatList.insertManyAtandFlatList.concatcopy the elements once #53.🤖 Generated with Claude Code
Summary by CodeRabbit
FlatList.clearto empty a list. Clearing an empty list keeps it empty; attempting to clear a default-initialized list is rejected.FlatListfunction listings and clarified XML documentation formatting and references.