mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
14 lines
360 B
Idris
14 lines
360 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
|
|
|
|
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
|