aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/Main.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/Main.hs b/main/Main.hs
index 3216833..dbac4c4 100644
--- a/main/Main.hs
+++ b/main/Main.hs
@@ -2,8 +2,8 @@ module Main where
import System.Exit
-import qualified CC.Parser
-import qualified CC.Typecheck
+import qualified CC.Parser as Parser
+import qualified CC.Typecheck as Typecheck
import CC.Pretty
import CC.Types
@@ -23,8 +23,8 @@ passJoin f1 f2 ctx a = f1 ctx a >>= f2 ctx
main :: IO ()
main = do
- let parse = pass CC.Parser.runPass
- typecheck = pass CC.Typecheck.runPass
+ let parse = pass Parser.runPass
+ typecheck = pass Typecheck.runPass
let combined = parse `passJoin` typecheck