Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Tell o :: Effect where
- data Listen o :: Effect where
- newtype Pass o :: Effect where
- newtype TellC o m a = TellC {}
- newtype ListenC o m a = ListenC {}
- newtype WriterC o m a = WriterC {}
- newtype TellLazyC o m a = TellLazyC {
- unTellLazyC :: WriterT o m a
- newtype ListenLazyC o m a = ListenLazyC {
- unListenLazyC :: WriterT o m a
- newtype WriterLazyC o m a = WriterLazyC {
- _unWriterLazyC :: WriterT o m a
- class (forall o. Monoid o => Threads (WriterT o) p) => WriterThreads p
- class (forall o. Monoid o => Threads (WriterT o) p) => WriterLazyThreads p
Documentation
data Tell o :: Effect where Source #
An effect for arbitrary output.
Instances
(Monoid w, Carrier m, Threaders '[SteppedThreads] m p) => PrimHandler ListenSteppedH (ListenPrim w) (SteppedC (Tell w) m) Source # | |
Defined in Control.Effect.Internal.Intercept effPrimHandler :: EffPrimHandler (ListenPrim w) (SteppedC (Tell w) m) Source # |
data Listen o :: Effect where Source #
An effect for hearing what a computation
has to tell
.
Instances
Eff (ListenPrim w) m => Handler ListenSteppedH (Listen w) m Source # | |
Defined in Control.Effect.Internal.Intercept effHandler :: EffHandler (Listen w) m Source # |
Instances
newtype ListenC o m a Source #
Instances
newtype WriterC o m a Source #
Instances
newtype TellLazyC o m a Source #
TellLazyC | |
|
Instances
newtype ListenLazyC o m a Source #
ListenLazyC | |
|
Instances
newtype WriterLazyC o m a Source #
WriterLazyC | |
|
Instances
class (forall o. Monoid o => Threads (WriterT o) p) => WriterThreads p Source #
WriterThreads
accepts the following primitive effects:
Regional
s
Optional
s
(whens
is a functor)BaseControl
b
ListenPrim
o
(wheno
is aMonoid
)WriterPrim
o
(wheno
is aMonoid
)ReaderPrim
i
Mask
Bracket
Fix
Split
Instances
(forall o. Monoid o => Threads (WriterT o) p) => WriterThreads p Source # | |
Defined in Control.Effect.Internal.Writer |
class (forall o. Monoid o => Threads (WriterT o) p) => WriterLazyThreads p Source #
WriterLazyThreads
accepts the following primitive effects:
Regional
s
Optional
s
(whens
is a functor)BaseControl
b
ListenPrim
o
(wheno
is aMonoid
)WriterPrim
o
(wheno
is aMonoid
)ReaderPrim
i
Mask
Bracket
Fix
Split
Instances
(forall o. Monoid o => Threads (WriterT o) p) => WriterLazyThreads p Source # | |
Defined in Control.Effect.Internal.Writer |