CalendarDiffDays: derive Data and Typeable
authorThomas Tuegel <ttuegel@mailbox.org>
Sun, 27 May 2018 16:31:11 +0000 (11:31 -0500)
committerThomas Tuegel <ttuegel@mailbox.org>
Sun, 27 May 2018 16:31:11 +0000 (11:31 -0500)
lib/Data/Time/Calendar/CalendarDiffDays.hs

index bbaca0a..73c779d 100644 (file)
@@ -11,11 +11,13 @@ import Data.Monoid
 #if MIN_VERSION_base(4,9,0)
 import Data.Semigroup hiding (option)
 #endif
+import Data.Typeable
+import Data.Data
 
 data CalendarDiffDays = CalendarDiffDays
     { cdMonths :: Integer
     , cdDays :: Integer
-    } deriving Eq
+    } deriving (Eq,Data,Typeable)
 
 #if MIN_VERSION_base(4,9,0)
 -- | Additive