As of ghc-7.10.1, it's not necessary to derive Typeable. So let's not
do it. The cabal file was updated to require >=7.10.1 as a result.
executable mailbox-count
build-depends:
- base >= 4.6 && < 5,
+ base >= 4.8 && < 5,
cmdargs >= 0.10,
configurator >= 0.2,
containers >= 0.5,
hs-source-dirs: src test
main-is: TestSuite.hs
build-depends:
- base >= 4.6 && < 5,
+ base >= 4.8 && < 5,
cmdargs >= 0.10,
configurator >= 0.2,
containers >= 0.5,
hs-source-dirs: test
main-is: Doctests.hs
build-depends:
- base >= 4.6 && < 5,
+ base >= 4.8 && < 5,
-- Additional test dependencies.
doctest >= 0.9,
filemanip >= 0.3.6
load,
lookup )
import Data.Data ( Data )
-import Data.Typeable ( Typeable )
import Data.Monoid ( Monoid() )
import Data.Semigroup ( Semigroup() )
import Paths_mailbox_count ( getSysconfDir )
port :: Maybe Int,
summary_query :: Maybe String,
username :: Maybe String }
- deriving (Show, Data, Typeable)
+ deriving (Show, Data)
-- | Combine two Maybes into one, essentially mashing them