proto3-suite
proto3-suite copied to clipboard
Removing redundant folds
Removes several redundant folds that were used in Message
/ MessageField
instances:
- Changes
foldMap f . Map.toList
in favor ofMap.foldrWithKey
- Removes identities
Foldable.toList :: [(k, v)] -> [(k, v)]