Open matthewleon opened 6 years ago
Is this desired? While you can achieve the desired effect with the WithIndex functions, it lacks some elegance.
WithIndex
Are you thinking of something like foldKeys f = foldSubmap Nothing Nothing (\k _ -> f k)?
foldKeys f = foldSubmap Nothing Nothing (\k _ -> f k)
Is this desired? While you can achieve the desired effect with the
WithIndex
functions, it lacks some elegance.