summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod176.hs
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-09-21 19:14:04 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-09-21 19:14:56 +0200
commit5ed12810e0972b1e0d408fe1355805746c4614f9 (patch)
tree93bef49c2ea5d5e2d67cb1684e14f227a3401c7f /testsuite/tests/module/mod176.hs
parent835d874df1973b7e1c602a747b42b77095592a9c (diff)
downloadhaskell-5ed12810e0972b1e0d408fe1355805746c4614f9.tar.gz
Move `mapM` and `sequence` to GHC.Base and break import-cycles
This simplifies the import graph and more importantly removes import cycles that arise due to `Control.Monad` & `Data.List` importing `Data.Traversable` (preparation for #9586) Reviewed By: ekmett, austin Differential Revision: https://phabricator.haskell.org/D234
Diffstat (limited to 'testsuite/tests/module/mod176.hs')
-rw-r--r--testsuite/tests/module/mod176.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/module/mod176.hs b/testsuite/tests/module/mod176.hs
index 250711345c..3a7419c355 100644
--- a/testsuite/tests/module/mod176.hs
+++ b/testsuite/tests/module/mod176.hs
@@ -1,10 +1,10 @@
module ShouldCompile where
import Prelude ()
-import Control.Monad( Monad(return), mapM )
+import Control.Monad( Monad(return), unless )
-- Should report Monad and return as unused imports
import GHC.Base
-- But not their import from here
x = True
-y x = mapM
+y x = unless