Skip to content

Feature request: support for contains on arrays #23

@andrewdbate

Description

@andrewdbate

Would this be possible? Writing

{ arr contains _ }

as an anonymous function just looks a lot more readable than:

{ p => arr exists { _ == p } }

What do you think?

Using such an anonymous function in a filterNot is quite handy the absence of support for diff on arrays.

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