mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 08:42:11 +03:00
16 lines
376 B
Idris
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
|