Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
The `R` in `RWST` stands for `ReaderT`, not `RWST`.

This appears to happened by accident in:
1c0a253.
  • Loading branch information
joneshf authored Dec 31, 2017
1 parent ee131c4 commit 4644324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Control/Monad/RWS/Trans.purs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Data.Tuple (Tuple(..), uncurry)
data RWSResult state result writer = RWSResult state result writer

-- | The reader-writer-state monad transformer, which combines the operations
-- | of `RWST`, `WriterT` and `StateT` into a single monad transformer.
-- | of `ReaderT`, `WriterT` and `StateT` into a single monad transformer.
newtype RWST r w s m a = RWST (r -> s -> m (RWSResult s a w))

-- | Run a computation in the `RWST` monad.
Expand Down

0 comments on commit 4644324

Please sign in to comment.