kleene-type-0
KleenePlugin.SWT
newtype SWT w m a Source #
Strict (list) writer monad.
Constructors
Fields
Defined in KleenePlugin.SWT
Methods
(>>=) :: SWT w m a -> (a -> SWT w m b) -> SWT w m b #
(>>) :: SWT w m a -> SWT w m b -> SWT w m b #
return :: a -> SWT w m a #
fail :: String -> SWT w m a #
fmap :: (a -> b) -> SWT w m a -> SWT w m b #
(<$) :: a -> SWT w m b -> SWT w m a #
pure :: a -> SWT w m a #
(<*>) :: SWT w m (a -> b) -> SWT w m a -> SWT w m b #
liftA2 :: (a -> b -> c) -> SWT w m a -> SWT w m b -> SWT w m c #
(*>) :: SWT w m a -> SWT w m b -> SWT w m b #
(<*) :: SWT w m a -> SWT w m b -> SWT w m a #
runSWT :: Functor m => SWT w m a -> m ([w], a) Source #
tellSingleSWT :: Monad m => w -> SWT w m () Source #
liftSWT :: Functor m => m a -> SWT w m a Source #