Added RWS.

Sure.

Thanks,
Hardy
On Jun 29, 2014 1:22 PM, "Phil Freeman" <notifications@github.com> wrote:

> In src/Control/Monad/RWS/Trans.purs:
>
> > @@ -0,0 +1,43 @@
> > +module Control.Monad.RWS.Trans where
> > +
> > +import Control.Monad.Trans
> > +import Data.Monoid
> > +import Data.Tuple
> > +
> > +data Tuple3 a b c = Tuple3 a b c
> > +
> > +data RWST r w s m a = RWST (r -> s -> m (Tuple3 a s w))
>
> Just a thought: is it worth using a record here? I feel like labelling
> these type variables could be helpful. Maybe something like
>
> data RWST r w s m a = RWST (r -> s -> m { result :: a, state :: s, log ::
> w })
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/purescript-contrib/purescript-transformers/pull/5/files#r14331295>
> .
>