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
feat: add TaskSeq.replicate and TaskSeq.zip3 (60 tests, ref #289)
- TaskSeq.replicate: creates a task sequence containing a value n times
- TaskSeq.zip3: combines three task sequences into triples, truncating to shortest
- 13 tests for replicate (empty, negative count, correctness, reusability)
- 47 tests for zip3 (null checks, empty, truncation, mixed types, side effects)
- Update README.md: mark replicate and zip3 as implemented
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
-[x] Publish package on Nuget, **DONE, PUBLISHED SINCE: 7 November 2022**. See https://www.nuget.org/packages/FSharp.Control.TaskSeq
@@ -340,7 +340,7 @@ This is what has been implemented so far, is planned or skipped:
340
340
|🚫|`reduceBack`|||[note #2](#note2"Because of the async nature of TaskSeq sequences, iterating from the back would be bad practice. Instead, materialize the sequence to a list or array and then apply the 'Back' iterators.")|
|❓|`rev`|||[note #1](#note1"These functions require a form of pre-materializing through 'TaskSeq.cache', similar to the approach taken in the corresponding 'Seq' functions. It doesn't make much sense to have a cached async sequence. However, 'AsyncSeq' does implement these, so we'll probably do so eventually as well.")|
345
345
||`scan`|`scan`|`scanAsync`||
346
346
|🚫|`scanBack`|||[note #2](#note2"Because of the async nature of TaskSeq sequences, iterating from the back would be bad practice. Instead, materialize the sequence to a list or array and then apply the 'Back' iterators.")|
@@ -383,7 +383,7 @@ This is what has been implemented so far, is planned or skipped:
/// argument of type <typerefname="'State" /> through the computation. If the input function is <paramrefname="f" /> and the elements are <paramrefname="i0...iN" />
1363
1385
/// then computes<paramrefname="f (... (f s i0)...) iN" />.
1364
1386
/// If the accumulator function <paramrefname="folder" /> is asynchronous, consider using <seecref="TaskSeq.foldAsync" />.
0 commit comments