Skip to content

Feature request: support for contains on arrays #23

Open

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.

Activity

  1. ochafik commented on Mar 16, 2015

    @ochafik
    Member

    Hey @andrewdbate,

    Definitely sounds like a good idea, thanks for the suggestion!

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