]> gitweb.michael.orlitzky.com - haeredes.git/commitdiff
Don't derive Typeable in Timeout.hs (GHC 8+).
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 7 Jul 2016 16:29:07 +0000 (12:29 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 7 Jul 2016 16:29:07 +0000 (12:29 -0400)
src/Timeout.hs

index 6f0f3d4d991417f56c409bbe6731c0580de81437..0b0f2e12798d507737cdcf203c33c9957b2e4855 100644 (file)
@@ -8,11 +8,10 @@ where
 
 import Data.Data (Data)
 import System.Console.CmdArgs.Default (Default(..))
-import Data.Typeable (Typeable)
 
 newtype Timeout =
   Timeout { seconds :: Int }
-  deriving (Data, Show, Typeable)
+  deriving (Data, Show)
 
 instance Default Timeout where
   def = Timeout 15