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
* Add AsyncSeq.mapFold, mapFoldAsync, allPairs, rev
Four new Seq-mirroring combinators:
- mapFoldAsync: maps elements with an async folder that threads state,
returns (results array, final state); mirrors Seq.mapFold
- mapFold: synchronous variant of mapFoldAsync
- allPairs: cartesian product of two async sequences; buffers second
source before iteration; mirrors Seq.allPairs
- rev: reverses an async sequence; buffers entire source; mirrors Seq.rev
All 297 tests pass (10 new tests added).
Co-authored-by: Copilot <[email protected]>
* ci: trigger checks
* Update RELEASE_NOTES for version 4.8.0
Updated release notes for version 4.8.0, adding new features and improvements.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Don Syme <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
### 4.8.0
2
+
3
+
* Added `AsyncSeq.mapFoldAsync` — maps each element using an asynchronous folder that also threads an accumulator state, returning both the array of results and the final state; mirrors `Seq.mapFold`.
4
+
* Added `AsyncSeq.mapFold` — synchronous variant of `AsyncSeq.mapFoldAsync`, mirroring `Seq.mapFold`.
5
+
* Added `AsyncSeq.allPairs` — returns an async sequence of all pairs from two input sequences (cartesian product); the second source is fully buffered before iteration, mirroring `Seq.allPairs`.
6
+
* Added `AsyncSeq.rev` — returns a new async sequence with all elements in reverse order; the entire source sequence is buffered before yielding, mirroring `Seq.rev`.
7
+
1
8
### 4.7.0
2
9
3
10
* Added `AsyncSeq.splitAt` — splits a sequence at the given index, returning the first `count` elements as an array and the remaining elements as a new `AsyncSeq`. Mirrors `Seq.splitAt`. The source is enumerated once.
0 commit comments