transformers-compat-0.6.2: A small compatibility shim for the transformers library

Copyright(C) 2012-16 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell98

Control.Monad.Trans.Instances

Contents

Description

Backports orphan instances which are not provided by other modules in transformers-compat.

Orphan instances

Monad m => Monad (Reverse * m) # 

Methods

(>>=) :: Reverse * m a -> (a -> Reverse * m b) -> Reverse * m b #

(>>) :: Reverse * m a -> Reverse * m b -> Reverse * m b #

return :: a -> Reverse * m a #

fail :: String -> Reverse * m a #

MonadFail m => MonadFail (Reverse * m) # 

Methods

fail :: String -> Reverse * m a #

MonadPlus m => MonadPlus (Reverse * m) # 

Methods

mzero :: Reverse * m a #

mplus :: Reverse * m a -> Reverse * m a -> Reverse * m a #

Semigroup a => Semigroup (Constant k a b) # 

Methods

(<>) :: Constant k a b -> Constant k a b -> Constant k a b #

sconcat :: NonEmpty (Constant k a b) -> Constant k a b #

stimes :: Integral b => b -> Constant k a b -> Constant k a b #