Commit 340cd1ec authored by sof's avatar sof
Browse files

[project @ 2002-03-02 18:10:57 by sof]

more import wibble
parent 64ac7ed5
......@@ -10,7 +10,7 @@
module Main where
import IO
import PrelIOBase( unsafePerformIO )
import System.IO.Unsafe ( unsafePerformIO )
{-# NOINLINE [0] sndSnd #-}
-- Dont inline till last, to give the rule a chance
......
......@@ -5,7 +5,7 @@ module Main where
-- care. See comment about polymorphic recursion in TcMonoBinds.lhs
import System(getArgs)
import PrelIOBase
import GHC.IOBase
sfoldl :: (a -> Int -> a) -> a -> [Int] -> a
sfoldl f z [] = z
......
......@@ -3,9 +3,7 @@
-- !!! Test generics
module Main where
import PrelBase -- In a real program it would be 'import Generics'
-- but Generics is in package lang, so importing
-- PrelBase reduces dependencies
import Data.Generics
class Bin a where
toBin :: a -> [Int]
......
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