[commit: packages/hpc] master: Use import list for `Data.Time` (b2d4836)

git at git.haskell.org git at git.haskell.org
Wed Sep 10 21:05:30 UTC 2014


Repository : ssh://git@git.haskell.org/hpc

On branch  : master
Link       : http://git.haskell.org/packages/hpc.git/commitdiff/b2d48364e924abe4feb9779c902186575db840ab

>---------------------------------------------------------------

commit b2d48364e924abe4feb9779c902186575db840ab
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Sep 10 23:02:58 2014 +0200

    Use import list for `Data.Time`
    
    This makes it more obvious why `hpc` depends on `time` in the first
    place, i.e. for the sole purpose of using the `UTCTime` type.


>---------------------------------------------------------------

b2d48364e924abe4feb9779c902186575db840ab
 Trace/Hpc/Mix.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Trace/Hpc/Mix.hs b/Trace/Hpc/Mix.hs
index 5be919d..83e8c02 100644
--- a/Trace/Hpc/Mix.hs
+++ b/Trace/Hpc/Mix.hs
@@ -21,7 +21,7 @@ module Trace.Hpc.Mix
   where
 
 import Data.Maybe (catMaybes)
-import Data.Time
+import Data.Time (UTCTime)
 import Data.Tree
 import Data.Char
 



More information about the ghc-commits mailing list