Skip to content

Consider adding applicative/monadic versions of adjust/update/alter functions #278

Open
@sergv

Description

@sergv

These three functions are pure, which is really great. But I believe purity gets it the way in the following use case: add key-value pair if key is not present or throw error in a monad if key is already present.

Sharing traversal for both presence check and update will avoid redundant work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions