8000 Conditionally conform Chain2Sequence to MutableCollection · Issue #217 · apple/swift-algorithms · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Conditionally conform Chain2Sequence to MutableCollection #217
Open
@ffried

Description

@ffried

Is there a specific reason why Chain2Sequence does not conform to MutableCollection when Base1 and Base2 do?

I'm trying to build an API that uses two some MutableCollection<T> as parameters and one as return value. I need it to be mutable, because I need to change a specific element in the collection. Internally, the parameters will be chained using chain(_:_:) - or at least that's the goal.

I'm happy to provide a PR for this, but I wanted to see if there's a reason against it first.

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

      0