Skip to content

We want design parity with FSharp.Control.TaskSeq #277

Closed

Description

@dsyme

/repo-assist We want design parity between FSharp.Control.AsyncSeq and FSharp.Control.TaskSeq.

https://github.com/fsprojects/FSharp.Control.TaskSeq

One difference is withCancellation is missing from FSharp.Control.AsyncSeq but more research about reaching design parity is needed.

Activity

  1. github-actions commented on Mar 14, 2026

    @github-actions
    Contributor

    Pull request created: #278

    Generated by Repo Assist

  2. github-actions commented on Mar 14, 2026

    @github-actions
  3. reopened this on Mar 16, 2026
  4. dsyme commented on Mar 16, 2026

    @dsyme
    ContributorAuthor

    /repo-assist Please keep working on this

  5. github-actions commented on Mar 16, 2026

    @github-actions
    Contributor

    Pull request created: #281

    Generated by Repo Assist

  6. github-actions commented on Mar 16, 2026

    @github-actions
  7. github-actions commented on Mar 16, 2026

    @github-actions
    Contributor

    Pull request created: #282

    Generated by Repo Assist

  8. github-actions commented on Mar 16, 2026

    @github-actions
    Contributor

    🤖 This is an automated response from Repo Assist.

    I've submitted a third batch PR completing the design-parity work! This closes the remaining gap identified in the analysis.

    Batch 3: final 6 functions

    Added Notes
    insertManyAt Inserts multiple values before the element at the given index — mirrors Seq.insertManyAt / TaskSeq.insertManyAt
    removeManyAt Removes a run of elements starting at the given index — mirrors Seq.removeManyAt / TaskSeq.removeManyAt
    box Boxes each element to obj
    unbox<'T> Unboxes each obj element to 'T
    cast<'T> Dynamically casts each obj element to 'T
    lengthOrMax Counts up to a maximum, avoiding full enumeration of long/infinite sequences

    All 341 tests pass. Version bumped to 4.11.0.

    Note on exceptOfSeq: AsyncSeq.except already accepts seq<'T> for the excluded collection, so no separate exceptOfSeq alias is needed — it was already covered.

    Design-parity summary across all three batches

    The gap analysis is now complete — all actionable TaskSeq functions have been ported or confirmed as already present.

    Generated by Repo Assist for issue #277 · ◷

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/repo-assist.md@346204513ecfa08b81566450d7d599556807389f
    
  9. added 2 commits that reference this issue on Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions