Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
61127204
Commit
61127204
authored
Feb 02, 2005
by
simonpj
Browse files
[project @ 2005-02-02 13:27:07 by simonpj]
Import trimming
parent
268d028c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/Main.hs
View file @
61127204
{-# OPTIONS -fno-warn-incomplete-patterns -optc-DNON_POSIX_SOURCE #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.14
5
2005/02/0
1 08:36
:07 simonpj Exp $
-- $Id: Main.hs,v 1.14
6
2005/02/0
2 13:27
:07 simonpj Exp $
--
-- GHC Driver program
--
...
...
@@ -14,7 +14,8 @@ module Main (main) where
#
include
"HsVersions.h"
#
ifdef
GHCI
import
InteractiveUI
(
ghciWelcomeMsg
,
interactiveUI
)
import
InteractiveUI
(
ghciWelcomeMsg
,
interactiveUI
)
import
DriverState
(
isInteractiveMode
)
#
endif
...
...
@@ -24,10 +25,10 @@ import Config ( cBooterVersion, cGhcUnregisterised, cProjectVersion )
import
SysTools
(
initSysTools
,
cleanTempFiles
,
normalisePath
)
import
Packages
(
dumpPackages
,
initPackages
,
haskell98PackageId
,
PackageIdH
(
..
)
)
import
DriverPipeline
(
staticLink
,
doMkDLL
,
compileFile
)
import
DriverState
(
isLinkMode
,
isMakeMode
,
isInteractiveMode
,
import
DriverState
(
isLinkMode
,
isCompManagerMode
,
isInterpretiveMode
,
buildStgToDo
,
findBuildTag
,
unregFlags
,
v_GhcMode
,
v_GhcModeFlag
,
GhcMode
(
..
),
v_GhcMode
,
GhcMode
(
..
),
v_Keep_tmp_files
,
v_Ld_inputs
,
v_Ways
,
v_Output_file
,
v_Output_hi
,
v_GhcLink
,
verifyOutputFiles
,
GhcLink
(
..
)
...
...
@@ -51,7 +52,6 @@ import EXCEPTION ( throwDyn, Exception(..),
-- Standard Haskell libraries
import
IO
import
Directory
(
doesFileExist
)
import
System
(
getArgs
,
exitWith
,
ExitCode
(
..
)
)
import
Monad
import
List
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment