iota-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Monoid.Action

Synopsis

Documentation

class Monoid f => MonoidAction f a where Source #

  • mact mempty = id
  • mact (f <> g) = mact f . mact g

Methods

mact :: f -> a -> a Source #

Instances

Instances details
MonoidAction () m Source # 
Instance details

Defined in Data.Monoid.Action

Methods

mact :: () -> m -> m Source #

Monoid m => MonoidAction m m Source # 
Instance details

Defined in Data.Monoid.Action

Methods

mact :: m -> m -> m Source #