Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

import of System.Time and System.Directory made explicit instead of i…

…mplicit via re-exports
  • Loading branch information...
commit fe46594387a7940d6e2ea52c837ee82f3a84761d 1 parent f39b627
@atzedijkstra atzedijkstra authored
View
2  EHC/src/ehc/EHC/Common.chs
@@ -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
View
2  EHC/src/ehc/EHC/CompilePhase/Module.chs
@@ -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})
%%]
View
2  EHC/src/ehc/EHC/CompilePhase/Output.chs
@@ -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})
%%]
View
2  EHC/src/ehc/EHC/CompileRun.chs
@@ -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)
%%]
Please sign in to comment.
Something went wrong with that request. Please try again.