Merge pull request #103 from bgamari/master
authorAshley Yakeley <ashley@semantic.org>
Tue, 31 Jul 2018 21:48:14 +0000 (14:48 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Jul 2018 21:48:14 +0000 (14:48 -0700)
Compatibility with GHC 8.6.1

1  2 
lib/Data/Time/Calendar/CalendarDiffDays.hs
lib/Data/Time/LocalTime/Internal/CalendarDiffTime.hs

@@@ -8,11 -8,9 +8,11 @@@ module Data.Time.Calendar.CalendarDiffD
  #else
  import Data.Monoid
  #endif
- #if MIN_VERSION_base(4,9,0)
+ #if MIN_VERSION_base(4,9,0) && !MIN_VERSION_base(4,12,0)
  import Data.Semigroup hiding (option)
  #endif
 +import Data.Typeable
 +import Data.Data
  
  data CalendarDiffDays = CalendarDiffDays
      { cdMonths :: Integer