Skip to content

Commit c531881

Browse files
committed
Remove unnecessary Prelude imports
1 parent 3937f51 commit c531881

File tree

12 files changed

+1
-15
lines changed

12 files changed

+1
-15
lines changed

src/Control/Monad/Cont/Class.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Control.Monad.Cont.Class where
22

3-
import Prelude
43
import Control.Monad.Error
54
import qualified Control.Monad.Cont.Trans as Cont
65
import Control.Monad.Error

src/Control/Monad/Cont/Trans.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Control.Monad.Cont.Trans where
22

3-
import Prelude
43
import Control.Monad.Trans
54

65
newtype ContT r m a = ContT ((a -> m r) -> m r)

src/Control/Monad/Error/Class.purs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Control.Monad.Error.Class where
22

3-
import Prelude
43
import Control.Monad.Trans
54
import Control.Monad.Error
65
import Control.Monad.Error.Trans
@@ -14,7 +13,7 @@ import Data.Monoid
1413
class MonadError e m where
1514
throwError :: forall a. e -> m a
1615
catchError :: forall a. m a -> (e -> m a) -> m a
17-
16+
1817
instance monadErrorError :: (Error e) => MonadError e (Either e) where
1918
throwError = Left
2019
catchError (Left e) h = h e

src/Control/Monad/Identity.purs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module Control.Monad.Identity where
22

3-
import Prelude
4-
53
newtype Identity a = Identity a
64

75
runIdentity :: forall a. Identity a -> a

src/Control/Monad/Maybe/Trans.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Control.Monad.Maybe.Trans where
22

3-
import Prelude
43
import Control.Monad
54
import Control.Monad.Trans
65
import Data.Either

src/Control/Monad/Reader.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Control.Monad.Reader where
22

3-
import Prelude
43
import Control.Monad.Identity
54
import Control.Monad.Reader.Trans
65

src/Control/Monad/Reader/Class.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Control.Monad.Reader.Class where
22

3-
import Prelude
43
import Control.Monad.Trans
54
import Control.Monad.Reader.Trans
65
import Control.Monad.Error

src/Control/Monad/State.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Control.Monad.State where
22

3-
import Prelude
43
import Control.Monad.Identity
54
import Control.Monad.State.Trans
65
import Data.Tuple

src/Control/Monad/State/Class.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Control.Monad.State.Class where
22

3-
import Prelude
43
import Control.Monad.Trans
54
import Control.Monad.State.Trans
65
import Control.Monad.Error

src/Control/Monad/Trans.purs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
module Control.Monad.Trans where
22

3-
import Prelude
4-
53
class MonadTrans t where
64
lift :: forall m a. (Monad m) => m a -> t m a

0 commit comments

Comments
 (0)