on master help sign in
Merge branch 'tupleable-deriving' of https://github.com/samb96/project-m36 into samb96-tupleable-deriving
commit3add28ea5c368968b26674701db80dbbd335af81 authorAgentM <agentm@themactionfaction.com> dateSat 4 Jul 2020, 20:09 (6 years ago) parent2d088d050cba00
2 files changed+7−5
project-m36.cabal+6−5 src/lib/ProjectM36/Tupleable/Deriving.hs+1
project-m36.cabal+6−5
@@ -412,11 +412,12 @@ Executable Example-CustomTupleable
412412 Main-Is: examples/CustomTupleable.hs
413413 GHC-Options: -Wall -threaded
414414
415−Executable Example-DerivingCustomTupleable
416− Default-Language: Haskell2010
417− Build-Depends: base, text, deepseq, binary, project-m36
418− Main-Is: examples/DerivingCustomTupleable.hs
419− GHC-Options: -Wall -threaded
415+-- requires ghc >= 8.6.1
416+-- Executable Example-DerivingCustomTupleable
417+ -- Default-Language: Haskell2010
418+ -- Build-Depends: base, text, deepseq, binary, project-m36
419+ -- Main-Is: examples/DerivingCustomTupleable.hs
420+ -- GHC-Options: -Wall -threaded
420421
421422Test-Suite test-scripts
422423 Default-Language: Haskell2010
src/lib/ProjectM36/Tupleable/Deriving.hs+1
@@ -56,6 +56,7 @@ import Data.Maybe (fromMaybe)
5656import Data.Proxy
5757import qualified Data.Text as T
5858import Data.Text.Manipulate
59+import Data.Maybe
5960import GHC.TypeLits
6061import GHC.Generics (Generic, Rep)
6162import ProjectM36.Tupleable