You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: add SideEffects module to TaskSeq.Unfold.Tests.fs
Adds 6 new tests covering:
- Generator side-effects accumulate across re-iterations (both sync and async)
- take stops the generator after the requested number of elements
- Exceptions thrown inside sync and async generators propagate correctly
Before: 14 test runs After: 20 test runs
Co-authored-by: Copilot <[email protected]>
Copy file name to clipboardExpand all lines: release-notes.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
Release notes:
3
3
4
4
Unreleased
5
+
- test: add SideEffects module to TaskSeq.Unfold.Tests.fs, verifying generator call counts, re-iteration behaviour, early-termination via take, and exception propagation
5
6
- test: add SideEffects module and ImmTaskSeq variant tests to TaskSeq.ChunkBy.Tests.fs, improving coverage for chunkBy and chunkByAsync
6
7
- fixes: `Async.bind` signature corrected from `(Async<'T> -> Async<'U>)` to `('T -> Async<'U>)` to match standard monadic bind semantics (same as `Task.bind`); the previous signature made the function effectively equivalent to direct application
7
8
- refactor: simplify splitAt 'rest' taskSeq to use while!, removing redundant go2 mutable and manual MoveNextAsync pre-advance
0 commit comments