on master help sign in
Merge branch 'tupleable-deriving' of https://github.com/samb96/project-m36 into samb96-tupleable-deriving
3add28eAgentM
project-m36.cabal+6−5
@@ -412,11 +412,12 @@ Executable Example-CustomTupleable
412 Main-Is: examples/CustomTupleable.hs
412 Main-Is: examples/CustomTupleable.hs
413 GHC-Options: -Wall -threaded
413 GHC-Options: -Wall -threaded
414
414
415+-- requires ghc >= 8.6.1
415−Executable Example-DerivingCustomTupleable
416+-- Executable Example-DerivingCustomTupleable
416− Default-Language: Haskell2010
417+ -- Default-Language: Haskell2010
417− Build-Depends: base, text, deepseq, binary, project-m36
418+ -- Build-Depends: base, text, deepseq, binary, project-m36
418− Main-Is: examples/DerivingCustomTupleable.hs
419+ -- Main-Is: examples/DerivingCustomTupleable.hs
419− GHC-Options: -Wall -threaded
420+ -- GHC-Options: -Wall -threaded
420
421
421Test-Suite test-scripts
422Test-Suite test-scripts
422 Default-Language: Haskell2010
423 Default-Language: Haskell2010
src/lib/ProjectM36/Tupleable/Deriving.hs+1
@@ -56,6 +56,7 @@ import Data.Maybe (fromMaybe)
56import Data.Proxy
56import Data.Proxy
57import qualified Data.Text as T
57import qualified Data.Text as T
58import Data.Text.Manipulate
58import Data.Text.Manipulate
59+import Data.Maybe
59import GHC.TypeLits
60import GHC.TypeLits
60import GHC.Generics (Generic, Rep)
61import GHC.Generics (Generic, Rep)
61import ProjectM36.Tupleable
62import ProjectM36.Tupleable