Skip to content

Commit

Permalink
import of System.Time and System.Directory made explicit instead of i…
Browse files Browse the repository at this point in the history
…mplicit via re-exports
  • Loading branch information
atzedijkstra committed Oct 29, 2012
1 parent f39b627 commit fe46594
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EHC/src/ehc/EHC/Common.chs
Expand Up @@ -25,7 +25,7 @@ Used by all compiler driver code
%%[8 import({%{EH}Opts.CommandLine})
%%]

%%[50 import(System.Time, System.Directory) export(module System.Time, module System.Directory)
%%[50 import(System.Time, System.Directory)
%%]

-- 20121029 the time package cannot be used as System.Directory used old-time, and no conversion to UTCTime (from Data.Time) could be found
Expand Down
2 changes: 2 additions & 0 deletions EHC/src/ehc/EHC/CompilePhase/Module.chs
Expand Up @@ -12,6 +12,8 @@ Module analysis
%%]
%%[50 import(qualified EH.Util.Rel as Rel)
%%]
%%[50 import(System.Time, System.Directory)
%%]

%%[50 import({%{EH}EHC.Common})
%%]
Expand Down
2 changes: 2 additions & 0 deletions EHC/src/ehc/EHC/CompilePhase/Output.chs
Expand Up @@ -12,6 +12,8 @@ Output generation, on stdout or file
%%]
%%[8 import(qualified Data.Map as Map, qualified Data.Set as Set)
%%]
%%[50 import(System.Time, System.Directory)
%%]

%%[8 import({%{EH}EHC.Common})
%%]
Expand Down
2 changes: 1 addition & 1 deletion EHC/src/ehc/EHC/CompileRun.chs
Expand Up @@ -12,7 +12,7 @@ An EHC compile run maintains info for one compilation invocation
%%]
%%[8 import(System.IO, System.Exit, System.Environment, System.Process, System.Cmd(rawSystem))
%%]
%%[99 import(System.CPUTime, System.Locale, Data.IORef, System.IO.Unsafe)
%%[99 import(System.Time, System.CPUTime, System.Locale, Data.IORef, System.IO.Unsafe)
%%]
%%[99 import(System.Directory)
%%]
Expand Down

0 comments on commit fe46594

Please sign in to comment.