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.removeAt, updateAt, insertAt — mirror Seq combinators
These three F# 6.0 Seq-mirroring combinators enable in-place mutation-style
operations on async sequences:
- removeAt: skip the element at the given index
- updateAt: replace the element at the given index with a new value
- insertAt: insert a value before the element at the given index
(or append when index == length)
All three raise ArgumentException for negative indices. insertAt also
raises ArgumentException when index exceeds the sequence length.
14 new tests added; 301/301 pass.
Co-authored-by: Copilot <[email protected]>
* ci: trigger checks
---------
Co-authored-by: github-actions[bot] <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Don Syme <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
### 4.7.0
2
+
3
+
* Added `AsyncSeq.removeAt` — returns a new sequence with the element at the specified index removed, mirroring `Seq.removeAt`.
4
+
* Added `AsyncSeq.updateAt` — returns a new sequence with the element at the specified index replaced by a given value, mirroring `Seq.updateAt`.
5
+
* Added `AsyncSeq.insertAt` — returns a new sequence with a value inserted before the element at the specified index (or appended if the index equals the sequence length), mirroring `Seq.insertAt`.
6
+
1
7
### 4.6.0
2
8
3
9
* Added `AsyncSeq.isEmpty` — returns `true` if the sequence contains no elements; short-circuits after the first element, mirroring `Seq.isEmpty`.
0 commit comments