Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
8cf30e37
Commit
8cf30e37
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-05-26 04:29:22 by sof]
Updated imports
parent
8461be36
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/compiler/main/MkIface.lhs
+6
-7
6 additions, 7 deletions
ghc/compiler/main/MkIface.lhs
with
6 additions
and
7 deletions
ghc/compiler/main/MkIface.lhs
+
6
−
7
View file @
8cf30e37
...
...
@@ -18,13 +18,14 @@ IMPORT_1_3(IO(Handle,hPutStr,openFile,hClose,IOMode(..)))
import HsSyn
import RdrHsSyn ( RdrName(..) )
import RnHsSyn ( SYN_IE(RenamedHsModule) )
import BasicTypes ( Fixity(..), FixityDirection(..), NewOrData(..) )
import RnMonad
import RnEnv ( availName )
import TcInstUtil ( InstInfo(..) )
import CmdLineOpts
import Id ( idType, dataConRawArgTys, dataConFieldLabels,
isDataCon,
import Id ( idType, dataConRawArgTys, dataConFieldLabels,
getIdInfo, getInlinePragma, omitIfaceSigForId,
dataConStrictMarks, StrictnessMark(..),
SYN_IE(IdSet), idSetToList, unionIdSets, unitIdSet, minusIdSet,
...
...
@@ -39,7 +40,7 @@ import IdInfo ( StrictnessInfo, ArityInfo,
import CoreSyn ( SYN_IE(CoreExpr), SYN_IE(CoreBinding), GenCoreExpr, GenCoreBinding(..) )
import CoreUnfold ( calcUnfoldingGuidance, UnfoldingGuidance(..), Unfolding )
import FreeVars ( addExprFVs )
import Name ( isLocallyDefined, isWiredInName, modAndOcc, getName, pprOccName,
import Name ( isLocallyDefined, isWiredInName, modAndOcc, getName,
nameModule,
pprOccName,
OccName, occNameString, nameOccName, nameString, isExported,
Name {-instance NamedThing-}, Provenance, NamedThing(..)
)
...
...
@@ -48,14 +49,14 @@ import Class ( GenClass(..){-instance NamedThing-}, SYN_IE(Class), GenClassOp,
classOpLocalType, classSig )
import FieldLabel ( FieldLabel{-instance NamedThing-},
fieldLabelName, fieldLabelType )
import Type ( mkSigmaTy, mkDictTy, getAppTyCon,
splitForAllTy,
import Type ( mkSigmaTy, mkDictTy, getAppTyCon,
mkTyVarTy, SYN_IE(Type)
)
import TyVar ( GenTyVar {- instance Eq -} )
import Unique ( Unique {- instance Eq -} )
import PprEnv -- not sure how much...
import
PprSty
le
( PprStyle(..) )
import
Outputab
le ( PprStyle(..)
, Outputable(..)
)
import PprType
import PprCore ( pprIfaceUnfolding )
import Pretty
...
...
@@ -70,8 +71,6 @@ import Util ( sortLt, zipWithEqual, zipWith3Equal, mapAccumL,
assertPanic, panic{-ToDo:rm-}, pprTrace,
pprPanic
)
import Outputable ( Outputable(..) )
\end{code}
We have a function @startIface@ to open the output file and put
...
...
@@ -179,7 +178,7 @@ ifaceExports if_hdl avails
insert NotAvailable efm = efm
insert avail efm = addToFM_C (++) efm mod [avail]
where
(
mod
,_) = modAndOcc
(availName avail)
mod
= nameModule
(availName avail)
-- Print one module's worth of stuff
do_one_module (mod_name, avails)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment