Idris2/libs/base/Control/Monad/RWS/Interface.idr

16 lines
376 B
Idris
Raw Normal View History

2021-01-19 13:45:54 +03:00
module Control.Monad.RWS.Interface
2021-01-20 07:58:19 +03:00
import Control.Monad.RWS.CPS
import Control.Monad.Reader.Interface
import Control.Monad.State.Interface
import Control.Monad.Writer.Interface
%default total
2021-01-20 07:58:19 +03:00
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