GHC 7.4 compatibility
authorJoachim Breitner <mail@joachim-breitner.de>
Thu, 29 Mar 2012 07:15:24 +0000 (07:15 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Thu, 29 Mar 2012 07:15:24 +0000 (07:15 +0000)
arbtt.cabal
src/Data.hs

index 6293ea6..c135223 100644 (file)
@@ -30,7 +30,7 @@ executable arbtt-capture
     main-is:            capture-main.hs
     hs-source-dirs:     src
     build-depends:
-        base == 4.*, filepath, directory, mtl, time, utf8-string, 
+        base == 4.5.*, filepath, directory, mtl, time, utf8-string, 
         bytestring, binary, deepseq
     other-modules:
         Data
index accda21..647f06f 100644 (file)
@@ -30,16 +30,6 @@ instance Functor TimeLogEntry where
 instance NFData a => NFData (TimeLogEntry a) where
     rnf (TimeLogEntry a b c) = a `deepseq` b `deepseq` c `deepseq` ()
 
-instance NFData UTCTime where
-    rnf (UTCTime a b) = a `deepseq` b `deepseq` ()
-    
-instance NFData Day where
-    rnf d = rnf (toModifiedJulianDay d)
-
-instance NFData DiffTime where
-    rnf d = rnf (toRational d)
-    
-        
 data CaptureData = CaptureData
         { cWindows :: [ (Bool, Text, Text) ]
                 -- ^ Active window, window title, programm name