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
Five new combinators mirroring standard F# module functions:
- findIndex: returns 0-based index of first matching element; raises KeyNotFoundException if not found (mirrors Seq.findIndex)
- tryFindIndex: returns Some index for first matching element, or None (mirrors Seq.tryFindIndex)
- findIndexAsync: async-predicate variant of findIndex; raises KeyNotFoundException if not found
- tryFindIndexAsync: async-predicate variant of tryFindIndex; returns option
- sortWith: sorts sequence using custom comparison function, returning array (mirrors Seq.sortWith)
12 new tests added; 279 total pass.
Co-authored-by: Copilot <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
### 4.6.0
2
+
3
+
* Added `AsyncSeq.findIndex` — returns the index of the first element satisfying a predicate; raises `KeyNotFoundException` if no match, mirroring `Seq.findIndex`.
4
+
* Added `AsyncSeq.tryFindIndex` — returns the index of the first element satisfying a predicate as `option`, or `None` if not found, mirroring `Seq.tryFindIndex`.
5
+
* Added `AsyncSeq.findIndexAsync` — async-predicate variant of `AsyncSeq.findIndex`; raises `KeyNotFoundException` if no match.
6
+
* Added `AsyncSeq.tryFindIndexAsync` — async-predicate variant of `AsyncSeq.tryFindIndex`; returns `option`.
7
+
* Added `AsyncSeq.sortWith` — sorts the sequence using a custom comparison function, returning an array, mirroring `Seq.sortWith`.
8
+
1
9
### 4.5.0
2
10
3
11
* Added `AsyncSeq.last` — returns the last element of the sequence; raises `InvalidOperationException` if empty, mirroring `Seq.last`.
0 commit comments