Idris2/libs/base/Control/Monad/RWS/Interface.idr
2021-06-12 21:06:08 -05:00

16 lines
376 B
Idris

module Control.Monad.RWS.Interface
import Control.Monad.RWS.CPS
import Control.Monad.Reader.Interface
import Control.Monad.State.Interface
import Control.Monad.Writer.Interface
%default total
public export
interface (MonadReader r m, MonadWriter w m, MonadState s m) =>
MonadRWS r w s m | m where
public export
(Monoid w, Monad m) => MonadRWS r w s (RWST r w s m) where