Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

folds over keys #133

Open
matthewleon opened this issue Jan 17, 2018 · 1 comment
Open

folds over keys #133

matthewleon opened this issue Jan 17, 2018 · 1 comment

Comments

@matthewleon
Copy link
Contributor

Is this desired? While you can achieve the desired effect with the WithIndex functions, it lacks some elegance.

@hdgarrood
Copy link
Contributor

Are you thinking of something like foldKeys f = foldSubmap Nothing Nothing (\k _ -> f k)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants