summaryrefslogtreecommitdiff
path: root/dev-lang/whitespace/files/whitespace-0.4-ghc-7.10.patch
blob: 6ee31f4e66e35021ad8b0593c41880acf7856db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --git a/VM.hs b/VM.hs
index 8ef93ce..e8113a0 100644
--- a/VM.hs
+++ b/VM.hs
@@ -1,7 +1,7 @@
 module VM where
 
-import Array
-import IO
+import Data.Array
+import System.IO
 import System.Random
 
 {- Stack machine for running whitespace programs -}
diff --git a/main.hs b/main.hs
index 83c60b7..a22ff15 100644
--- a/main.hs
+++ b/main.hs
@@ -26,7 +26,7 @@ import Input
 import VM
 import Tokens
 
-import System(getArgs)
+import System.Environment (getArgs)
 
 main :: IO ()
 main = do
diff --git a/whitespace.cabal b/whitespace.cabal
index 95ae434..e57ac58 100644
--- a/whitespace.cabal
+++ b/whitespace.cabal
@@ -15,4 +15,4 @@ Extra-Source-Files:  VM.hs Tokens.hs Input.hs
 
 Executable wspace
   Main-is:           main.hs
-  Build-Depends:     haskell98, random
+  Build-Depends:     base, array, random