nikita-volkov/typeclasses/1.5.0

NOTE: the latest version is 1.8.0

Typeclasses.Extensions.Dict

Extensions to the dict API, which utilise typeclasses.

foldMap : Monoid c -> (a -> b -> c) -> Dict a b -> c

O(n). Map each entry of dict to a type which has an instance of Monoid, and combine the results.