| Copyright | (c) 2023 Yamada Ryo |
|---|---|
| License | MPL-2.0 (see the file LICENSE) |
| Maintainer | ymdfield@outlook.jp |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
Control.Effect.Class.Writer
Description
Documentation
class Monoid w => Tell w f where Source #
Instances
| (SendIns (TellI w) f, Monoid w) => Tell w (EffectsVia EffectDataHandler f) Source # | |
Defined in Control.Effect.Class.Writer Methods tell :: w -> EffectsVia EffectDataHandler f () Source # | |
class Monoid w => WriterH w f where Source #
Instances
| (SendSig (WriterS w) f, Monoid w) => WriterH w (EffectsVia EffectDataHandler f) Source # | |
Defined in Control.Effect.Class.Writer Methods listen :: EffectsVia EffectDataHandler f a -> EffectsVia EffectDataHandler f (a, w) Source # censor :: (w -> w) -> EffectsVia EffectDataHandler f a -> EffectsVia EffectDataHandler f a Source # | |
class (Tell w f, WriterH w f) => Writer w (f :: Type -> Type) Source #
Instances
| (Tell w (EffectsVia EffectDataHandler f), WriterH w (EffectsVia EffectDataHandler f)) => Writer w (EffectsVia EffectDataHandler f) Source # | |
Defined in Control.Effect.Class.Writer | |