|
Control.Concurrent.Session.Base.SMonad |
|
|
Description |
Super magic Monads.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Constructors | SChain | | runSChain :: x -> m (a, y) | |
|
| Instances | |
|
|
|
An extension of the typical Monad such that you track additional
from and to parameters. Thus you can think of this like State
where the type of the State varies.
| | Methods | (~>>) :: m x y a -> m y z b -> m x z b | Source |
| | (~>>=) :: m x y a -> (a -> m y z b) -> m x z b | Source |
| | |
| | Instances | |
|
|
newtype SStateT s m x y a | Source |
|
Constructors | SStateT | | runSStateT :: s -> m x y (a, s) | |
|
| Instances | |
|
|
class SMonadTrans t where | Source |
|
| Methods | | | Instances | |
|
|
|
| Methods | | | Instances | |
|
|
|
| Methods | | | Instances | |
|
|
|
|
|
|
|
|
smapM :: SMonad m => (a -> m x x b) -> [a] -> m x x [b] | Source |
|
|
|
|
Produced by Haddock version 2.4.2 |