on master help sign in
Include DeriveGeneric in the language stanza
commit4df14b294a652fc7a2fdd07ab4ba69c83510f204 authorAndrzej Rybczak <andrzej@rybczak.net> dateThu 16 Dec 2021, 18:44 (5 years ago) parent4700dca
6 files changed+7−6
.github/workflows/haskell-ci.yml+3−3 doctest.sh+2−1 effectful-core/effectful-core.cabal+1 effectful-core/src/Effectful/Internal/Unlift.hs−1 effectful/effectful.cabal+1 effectful/tests/UnliftTests.hs−1
.github/workflows/haskell-ci.yml+3−3
@@ -228,11 +228,11 @@ jobs:
228228 - name: doctest
229229 run: |
230230 cd ${PKGDIR_effectful} || false
231− doctest -XBangPatterns -XConstraintKinds -XDataKinds -XDeriveFunctor -XFlexibleContexts -XFlexibleInstances -XGADTs -XGeneralizedNewtypeDeriving -XLambdaCase -XMultiParamTypeClasses -XNoStarIsType -XRankNTypes -XRecordWildCards -XRoleAnnotations -XScopedTypeVariables -XStandaloneDeriving -XTupleSections -XTypeApplications -XTypeFamilies -XTypeOperators src
231+ doctest -XBangPatterns -XConstraintKinds -XDataKinds -XDeriveFunctor -XDeriveGeneric -XFlexibleContexts -XFlexibleInstances -XGADTs -XGeneralizedNewtypeDeriving -XLambdaCase -XMultiParamTypeClasses -XNoStarIsType -XRankNTypes -XRecordWildCards -XRoleAnnotations -XScopedTypeVariables -XStandaloneDeriving -XTupleSections -XTypeApplications -XTypeFamilies -XTypeOperators src
232232 cd ${PKGDIR_effectful_core} || false
233− doctest -XBangPatterns -XConstraintKinds -XDataKinds -XDeriveFunctor -XFlexibleContexts -XFlexibleInstances -XGADTs -XGeneralizedNewtypeDeriving -XLambdaCase -XMultiParamTypeClasses -XNoStarIsType -XRankNTypes -XRecordWildCards -XRoleAnnotations -XScopedTypeVariables -XStandaloneDeriving -XTupleSections -XTypeApplications -XTypeFamilies -XTypeOperators src
233+ doctest -XBangPatterns -XConstraintKinds -XDataKinds -XDeriveFunctor -XDeriveGeneric -XFlexibleContexts -XFlexibleInstances -XGADTs -XGeneralizedNewtypeDeriving -XLambdaCase -XMultiParamTypeClasses -XNoStarIsType -XRankNTypes -XRecordWildCards -XRoleAnnotations -XScopedTypeVariables -XStandaloneDeriving -XTupleSections -XTypeApplications -XTypeFamilies -XTypeOperators src
234234 cd ${PKGDIR_effectful_core} || false
235− doctest -XBangPatterns -XConstraintKinds -XDataKinds -XDeriveFunctor -XFlexibleContexts -XFlexibleInstances -XGADTs -XGeneralizedNewtypeDeriving -XLambdaCase -XMultiParamTypeClasses -XNoStarIsType -XRankNTypes -XRecordWildCards -XRoleAnnotations -XScopedTypeVariables -XStandaloneDeriving -XTupleSections -XTypeApplications -XTypeFamilies -XTypeOperators utils
235+ doctest -XBangPatterns -XConstraintKinds -XDataKinds -XDeriveFunctor -XDeriveGeneric -XFlexibleContexts -XFlexibleInstances -XGADTs -XGeneralizedNewtypeDeriving -XLambdaCase -XMultiParamTypeClasses -XNoStarIsType -XRankNTypes -XRecordWildCards -XRoleAnnotations -XScopedTypeVariables -XStandaloneDeriving -XTupleSections -XTypeApplications -XTypeFamilies -XTypeOperators utils
236236 - name: cabal check
237237 run: |
238238 cd ${PKGDIR_effectful} || false
doctest.sh+2−1
@@ -17,6 +17,7 @@ run_doctest() {
1717 -XConstraintKinds \
1818 -XDataKinds \
1919 -XDeriveFunctor \
20+ -XDeriveGeneric \
2021 -XFlexibleContexts \
2122 -XFlexibleInstances \
2223 -XGADTs \
@@ -36,5 +37,5 @@ run_doctest() {
3637 popd
3738}
3839
39−run_doctest effectful src
4040run_doctest effectful-core src
41+run_doctest effectful src
effectful-core/effectful-core.cabal+1
@@ -34,6 +34,7 @@ common language
3434 ConstraintKinds
3535 DataKinds
3636 DeriveFunctor
37+ DeriveGeneric
3738 FlexibleContexts
3839 FlexibleInstances
3940 GADTs
effectful-core/src/Effectful/Internal/Unlift.hs−1
@@ -1,4 +1,3 @@
1−{-# LANGUAGE DeriveGeneric #-}
21{-# LANGUAGE MagicHash #-}
32{-# LANGUAGE UnboxedTuples #-}
43{-# OPTIONS_HADDOCK not-home #-}
effectful/effectful.cabal+1
@@ -40,6 +40,7 @@ common language
4040 ConstraintKinds
4141 DataKinds
4242 DeriveFunctor
43+ DeriveGeneric
4344 FlexibleContexts
4445 FlexibleInstances
4546 GADTs
effectful/tests/UnliftTests.hs−1
@@ -1,4 +1,3 @@
1−{-# LANGUAGE OverloadedLabels #-}
21module UnliftTests (unliftTests) where
32
43import Control.Exception