Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
newtype MonoidMap k a Source #
Utility newtype wrapper to make Map's Monoid also use the element's Monoid.
Instances
Functor (MonoidMap k) Source # | |
(Ord k, Semigroup a) => Monoid (MonoidMap k a) Source # | |
(Ord k, Semigroup a) => Semigroup (MonoidMap k a) Source # | |
Generic (MonoidMap k a) Source # | |
(Ord k, Read k, Read a) => Read (MonoidMap k a) Source # | |
(Show k, Show a) => Show (MonoidMap k a) Source # | |
(Eq k, Eq a) => Eq (MonoidMap k a) Source # | |
(Ord k, Ord a) => Ord (MonoidMap k a) Source # | |
Defined in Data.Monoid.Map compare :: MonoidMap k a -> MonoidMap k a -> Ordering # (<) :: MonoidMap k a -> MonoidMap k a -> Bool # (<=) :: MonoidMap k a -> MonoidMap k a -> Bool # (>) :: MonoidMap k a -> MonoidMap k a -> Bool # (>=) :: MonoidMap k a -> MonoidMap k a -> Bool # | |
type Rep (MonoidMap k a) Source # | |
Defined in Data.Monoid.Map |