Sitelet https://github.com/typelevel/cats/issues/4696
Skip to content

drop/dropRight/take/takeRight on TraverseFilter #4696

Description

@johnynek

it occurs to me, strictly speaking, all you need is the total length, current index, and the ability to remove to implement these methods. TraverseFilter seems to have all those.

Should we add those to TraverseFilter and optimize the implementations on the strict collections?

Activity

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