diff options
author | Ian Lynagh <igloo@earth.li> | 2011-02-05 20:50:14 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-02-05 20:50:14 +0000 |
commit | 965ad7d47d34cc6a05ea05077f852b11e049a91f (patch) | |
tree | 4b3de713f972b256869335b552cc9f4d64a77013 /testsuite/tests/ghc-regress/mdo | |
parent | f4738c93f695c9fb64a29506f4371177a9bd3626 (diff) | |
download | haskell-965ad7d47d34cc6a05ea05077f852b11e049a91f.tar.gz |
Remove the haskell98 dependency from more tests
Diffstat (limited to 'testsuite/tests/ghc-regress/mdo')
-rw-r--r-- | testsuite/tests/ghc-regress/mdo/should_compile/mdo005.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/ghc-regress/mdo/should_run/mdorun001.hs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghc-regress/mdo/should_compile/mdo005.hs b/testsuite/tests/ghc-regress/mdo/should_compile/mdo005.hs index 43ead7675c..0b6301b8a5 100644 --- a/testsuite/tests/ghc-regress/mdo/should_compile/mdo005.hs +++ b/testsuite/tests/ghc-regress/mdo/should_compile/mdo005.hs @@ -5,7 +5,7 @@ module Main (main) where import Control.Monad.Fix -import Maybe ( fromJust ) +import Data.Maybe ( fromJust ) t = mdo x <- fromJust (mdo x <- Just (1:x) return (take 4 x)) diff --git a/testsuite/tests/ghc-regress/mdo/should_run/mdorun001.hs b/testsuite/tests/ghc-regress/mdo/should_run/mdorun001.hs index 9386d26b65..8527e5b2b1 100644 --- a/testsuite/tests/ghc-regress/mdo/should_run/mdorun001.hs +++ b/testsuite/tests/ghc-regress/mdo/should_run/mdorun001.hs @@ -4,7 +4,7 @@ module Main(main) where import Control.Monad.Fix import Data.Array.IO -import Monad +import Control.Monad norm a = mdo (_, sz) <- getBounds a s <- ioaA 1 s sz 0 |