Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- class Monoid f => MonoidAction f a where
- mact :: f -> a -> a
Documentation
class Monoid f => MonoidAction f a where Source #
mact mempty = id
mact (f <> g) = mact f . mact g
Instances
MonoidAction () m Source # | |
Defined in Data.Monoid.Action | |
Monoid m => MonoidAction m m Source # | |
Defined in Data.Monoid.Action |