Commit 8357812b authored by Ian Lynagh's avatar Ian Lynagh

Remove the haskell98 dependency from the deSugar/should_run tests

parent 9ef0f42f
......@@ -2,8 +2,8 @@
-- is reflected by calling the monadic 'fail', not by a
-- runtime exception
import Maybe
import Control.Monad
import Data.Maybe
test :: (MonadPlus m) => [a] -> m Bool
test xs
......
......@@ -4,7 +4,7 @@
module Main where
import List(inits)
import Data.List(inits)
main = putStrLn (show output)
where
......
......@@ -4,7 +4,7 @@
module Main where
import List(groupBy)
import Data.List(groupBy)
import GHC.Exts(the)
groupRuns :: Eq b => (a -> b) -> [a] -> [[a]]
......
......@@ -4,7 +4,7 @@
module Main where
import List(takeWhile)
import Data.List(takeWhile)
main = putStrLn (show output)
where
......
......@@ -4,7 +4,7 @@
module Main where
import List(takeWhile)
import Data.List(takeWhile)
import GHC.Exts(sortWith)
employees = [ ("Simon", "MS", 80)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment