Skip to content

Commit 1343de4

Browse files
committed
Fix module reexports
1 parent a6350a0 commit 1343de4

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

src/Control/Monad/RWS.purs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ module Control.Monad.RWS
1313

1414
import Prelude
1515

16-
import Control.Monad.RWS.Trans
1716
import Data.Identity
1817
import Data.Monoid
1918
import Data.Tuple
2019

20+
import Control.Monad.RWS.Class
21+
import Control.Monad.RWS.Trans
22+
2123
-- | The `RWS` monad is a synonym for the `RWST` monad transformer, applied
2224
-- | to the `Identity` monad.
2325
type RWS r w s = RWST r w s Identity

src/Control/Monad/RWS/Class.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import Prelude
1212

1313
import Data.Monoid
1414

15+
import Control.Monad.Trans
1516
import Control.Monad.Reader.Class
1617
import Control.Monad.State.Class
1718
import Control.Monad.Writer.Class

src/Control/Monad/Reader.purs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ module Control.Monad.Reader
1010

1111
import Prelude
1212

13-
import Control.Monad.Reader.Trans
1413
import Data.Identity
1514

15+
import Control.Monad.Reader.Class
16+
import Control.Monad.Reader.Trans
17+
1618
-- | The `Reader` monad is a synonym for the `ReaderT` monad transformer, applied
1719
-- | to the `Identity` monad.
1820
type Reader r = ReaderT r Identity

src/Control/Monad/State.purs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ module Control.Monad.State
1212

1313
import Prelude
1414

15-
import Control.Monad.State.Trans
1615
import Data.Identity
1716
import Data.Tuple
1817

18+
import Control.Monad.State.Class
19+
import Control.Monad.State.Trans
20+
1921
-- | The `State` monad is a synonym for the `StateT` monad transformer, applied
2022
-- | to the `Identity` monad.
2123
type State s = StateT s Identity

src/Control/Monad/Writer.purs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ module Control.Monad.Writer
1010

1111
import Prelude
1212

13-
import Control.Monad.Writer.Trans
1413
import Data.Identity
1514
import Data.Monoid
1615
import Data.Tuple
1716

17+
import Control.Monad.Writer.Class
18+
import Control.Monad.Writer.Trans
19+
1820
-- | The `Writer` monad is a synonym for the `WriterT` monad transformer, applied
1921
-- | to the `Identity` monad.
2022
type Writer w = WriterT w Identity

0 commit comments

Comments
 (0)