purescript-deprecated/purescript-maps

folds over keys

Opened this issue · 1 comments

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

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