Skip to content

filter on PersistentHashMap inconsistent with Base #28

@TotalVerb

Description

@TotalVerb

The Base version of filter on Dict requires a function that takes two arguments. That's not the case for PersistentHashMap. Arguably, the existing FunctionalCollections behaviour makes more sense; I've filed JuliaLang/julia#17886 over in Base. If Base transitions to one-argument, then nothing needs to be done; otherwise, I feel like PersistentHashMap must be changed too to avoid the surprise factor.

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