Commit 693df088 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Don't use old-time in tests, as it's no longer a boot library.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent ab13ae29
......@@ -17,4 +17,4 @@ build-depends: base
Library
exposed-modules: MyLibrary
build-depends: bytestring, old-time
build-depends: bytestring, pretty
module MyLibrary where
import qualified Data.ByteString.Char8 as C
import System.Time
import Text.PrettyPrint
myLibFunc :: IO ()
myLibFunc = do
getClockTime
putStrLn (render (text "foo"))
let text = "myLibFunc"
C.putStrLn $ C.pack text
......@@ -17,4 +17,4 @@ build-depends: base
Executable lemon
main-is: lemon.hs
build-depends: bytestring, old-time
build-depends: bytestring, pretty
import qualified Data.ByteString.Char8 as C
import System.Time
import Text.PrettyPrint
main = do
getClockTime
putStrLn (render (text "foo"))
let text = "lemon"
C.putStrLn $ C.pack text
module MyLibrary where
import qualified Data.ByteString.Char8 as C
import System.Time
import Text.PrettyPrint
myLibFunc :: IO ()
myLibFunc = do
getClockTime
putStrLn (render (text "foo"))
let text = "myLibFunc"
C.putStrLn $ C.pack text
......@@ -16,9 +16,9 @@ description:
Library
exposed-modules: MyLibrary
build-depends: base, bytestring, old-time
build-depends: base, bytestring, pretty
Executable lemon
main-is: lemon.hs
hs-source-dirs: programs
build-depends: base, bytestring, old-time, InternalLibrary0
build-depends: base, bytestring, pretty, InternalLibrary0
import System.Time
import Text.PrettyPrint
import MyLibrary
main = do
getClockTime
putStrLn (render (text "foo"))
myLibFunc
module MyLibrary where
import qualified Data.ByteString.Char8 as C
import System.Time
import Text.PrettyPrint
myLibFunc :: IO ()
myLibFunc = do
getClockTime
putStrLn (render (text "foo"))
let text = "myLibFunc"
C.putStrLn $ C.pack text
......@@ -15,9 +15,9 @@ description:
Library
exposed-modules: MyLibrary
build-depends: base, bytestring, old-time
build-depends: base, bytestring, pretty
Executable lemon
main-is: lemon.hs
hs-source-dirs: programs
build-depends: base, bytestring, old-time, InternalLibrary1
build-depends: base, bytestring, pretty, InternalLibrary1
import System.Time
import Text.PrettyPrint
import MyLibrary
main = do
getClockTime
putStrLn (render (text "foo"))
myLibFunc
module MyLibrary where
import qualified Data.ByteString.Char8 as C
import System.Time
import Text.PrettyPrint
myLibFunc :: IO ()
myLibFunc = do
getClockTime
putStrLn (render (text "foo"))
let text = "myLibFunc internal"
C.putStrLn $ C.pack text
......@@ -15,9 +15,9 @@ description:
Library
exposed-modules: MyLibrary
build-depends: base, bytestring, old-time
build-depends: base, bytestring, pretty
Executable lemon
main-is: lemon.hs
hs-source-dirs: programs
build-depends: base, bytestring, old-time, InternalLibrary2
build-depends: base, bytestring, pretty, InternalLibrary2
import System.Time
import Text.PrettyPrint
import MyLibrary
main = do
getClockTime
putStrLn (render (text "foo"))
myLibFunc
module MyLibrary where
import qualified Data.ByteString.Char8 as C
import System.Time
import Text.PrettyPrint
myLibFunc :: IO ()
myLibFunc = do
getClockTime
putStrLn (render (text "foo"))
let text = "myLibFunc installed"
C.putStrLn $ C.pack text
......@@ -15,4 +15,4 @@ description:
Library
exposed-modules: MyLibrary
build-depends: base, bytestring, old-time
build-depends: base, bytestring, pretty
module MyLibrary where
import qualified Data.ByteString.Char8 as C
import System.Time
import Text.PrettyPrint
myLibFunc :: IO ()
myLibFunc = do
getClockTime
putStrLn (render (text "foo"))
let text = "myLibFunc internal"
C.putStrLn $ C.pack text
......@@ -15,9 +15,9 @@ description:
Library
exposed-modules: MyLibrary
build-depends: base, bytestring, old-time
build-depends: base, bytestring, pretty
Executable lemon
main-is: lemon.hs
hs-source-dirs: programs
build-depends: base, bytestring, old-time, InternalLibrary3
build-depends: base, bytestring, pretty, InternalLibrary3
import System.Time
import Text.PrettyPrint
import MyLibrary
main = do
getClockTime
putStrLn (render (text "foo"))
myLibFunc
module MyLibrary where
import qualified Data.ByteString.Char8 as C
import System.Time
import Text.PrettyPrint
myLibFunc :: IO ()
myLibFunc = do
getClockTime
putStrLn (render (text "foo"))
let text = "myLibFunc installed"
C.putStrLn $ C.pack text
......@@ -15,4 +15,4 @@ description:
Library
exposed-modules: MyLibrary
build-depends: base, bytestring, old-time
build-depends: base, bytestring, pretty
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