server: enable all the warnings (that we can)

See [Enable all the warnings](https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3). This PR follows that approach, except that it re-disables those warnings that would prevent a successful build.

There are some newer warning flags that older GHC versions don't recognize. So this also updates some of our CI routines to the GHC version that we're currently using for `graphql-engine` itself, namely 9.2.5. I don't see a reason to keep testing those libraries against older GHC versions.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7614
GitOrigin-RevId: d48a6db09dab29616e273549d0045f98ecb4586f
This commit is contained in:
Auke Booij 2023-01-30 12:23:08 +01:00 committed by hasura-bot
parent a0c5e1669b
commit c36c085016
33 changed files with 416 additions and 721 deletions

View File

@ -158,11 +158,31 @@ flag ghci-load-test-with-lib
common common-all
ghc-options:
-foptimal-applicative-do
-Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
-- This is just to keep compile-times in check and might be adjusted later (See mono #2610):
-fmax-simplifier-iterations=2
-- Insisting on export lists might help with compile times, and help to document modules:
-Wmissing-export-lists
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
-Wno-unused-packages
-Wno-deriving-typeable
-Wno-prepositive-qualified-module
-Wno-implicit-lift
-Wno-identities
-Wno-operator-whitespace
-Wno-partial-fields
-Wno-redundant-bang-patterns
-Wno-unused-type-patterns
if flag(profiling)
cpp-options: -DPROFILING

View File

@ -39,7 +39,22 @@ library
LambdaCase
OverloadedStrings
StrictData
ghc-options: -foptimal-applicative-do -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
ghc-options:
-foptimal-applicative-do
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
build-depends:
aeson
, attoparsec

View File

@ -5,15 +5,34 @@ build-type: Simple
copyright: Hasura Inc.
extra-source-files: README.md
common common-all
ghc-options:
-Werror
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
-Wno-unused-packages
-Wno-partial-fields
-Wno-missing-export-lists
-Wno-implicit-prelude
library
import: common-all
build-tool-depends: hspec-discover:hspec-discover
hs-source-dirs: src
default-language: GHC2021
ghc-options:
-Wall
-Werror
default-extensions:
BlockArguments
DataKinds
@ -208,6 +227,7 @@ library
Test.Webhook.WebhookTransformSpec
executable api-tests
import: common-all
build-depends:
, lens-aeson
, api-tests
@ -217,8 +237,6 @@ executable api-tests
-- Turning off optimizations is intentional; tests aren't
-- performance sensitive and waiting for compilation is a problem.
ghc-options:
-Wall
-Werror
-threaded
-rtsopts "-with-rtsopts=-N"
@ -227,6 +245,7 @@ executable api-tests
main-is: Main.hs
library feature-matrix
import: common-all
build-depends:
, aeson
, attoparsec
@ -262,11 +281,8 @@ library feature-matrix
exposed-modules:
Hasura.FeatureMatrix
ghc-options:
-Wall
-Werror
executable render-feature-matrix
import: common-all
build-depends:
, base
, feature-matrix
@ -295,14 +311,13 @@ executable render-feature-matrix
-- Turning off optimizations is intentional; tests aren't
-- performance sensitive and waiting for compilation is a problem.
ghc-options:
-Wall
-Werror
-threaded
-rtsopts "-with-rtsopts=-N"
main-is: Main.hs
executable produce-feature-matrix
import: common-all
build-depends:
, api-tests
, base
@ -334,8 +349,6 @@ executable produce-feature-matrix
-- performance sensitive and waiting for compilation is a problem.
ghc-options:
-O0
-Wall
-Werror
-threaded
-rtsopts "-with-rtsopts=-N4"

View File

@ -11,7 +11,6 @@ flag profiling
manual: True
common common-all
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wmissing-export-lists
default-language: Haskell2010
default-extensions:
BlockArguments
@ -38,6 +37,21 @@ common common-all
TypeApplications
TypeFamilies
TypeOperators
ghc-options:
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
library
import: common-all

View File

@ -25,7 +25,26 @@ flag profiling
manual: True
default: False
common common-all
ghc-options:
-foptimal-applicative-do
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
library
import: common-all
exposed-modules:
Hasura.Base.ErrorMessage
Hasura.Base.ErrorValue
@ -41,7 +60,6 @@ library
ImportQualifiedPost
OverloadedStrings
ScopedTypeVariables
ghc-options: -foptimal-applicative-do -Wall -Werror -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wmissing-export-lists
build-depends:
aeson
, base
@ -57,6 +75,7 @@ library
default-language: Haskell2010
test-suite tests
import: common-all
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
@ -71,7 +90,6 @@ test-suite tests
ImportQualifiedPost
OverloadedStrings
ScopedTypeVariables
ghc-options: -foptimal-applicative-do -Wall -Werror -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wmissing-export-lists -main-is Main
build-tool-depends: hspec-discover:hspec-discover
build-depends:
aeson

View File

@ -1,141 +0,0 @@
active-repositories: hackage.haskell.org:merge
constraints: any.OneTuple ==0.3.1,
any.PyF ==0.10.2.0,
PyF -python_test,
any.QuickCheck ==2.14.2,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.aeson ==2.0.3.0,
aeson -cffi +ordered-keymap,
any.ansi-terminal ==0.11.3,
ansi-terminal -example,
any.ansi-wl-pprint ==0.6.9,
ansi-wl-pprint -example,
any.array ==0.5.4.0,
any.assoc ==1.0.2,
any.async ==2.2.4,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.barbies ==2.0.3.1,
any.base ==4.14.3.0,
any.base-compat ==0.12.1,
any.base-compat-batteries ==0.12.1,
any.base-orphans ==0.8.6,
any.bifunctors ==5.5.11,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
any.bytestring ==0.10.12.0,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
any.concurrent-output ==1.10.15,
any.constraints ==0.13.3,
any.containers ==0.6.5.1,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
any.data-fix ==0.3.2,
any.deepseq ==1.4.4.0,
any.deferred-folds ==0.9.18.1,
any.directory ==1.3.6.0,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.dlist ==1.0,
dlist -werror,
any.erf ==2.0.0.0,
any.exceptions ==0.10.4,
any.filepath ==1.4.2.1,
any.foldl ==1.4.12,
any.ghc ==8.10.7,
any.ghc-boot ==8.10.7,
any.ghc-boot-th ==8.10.7,
any.ghc-heap ==8.10.7,
any.ghc-prim ==0.6.1,
any.ghci ==8.10.7,
any.happy ==1.20.0,
any.hashable ==1.4.0.2,
hashable +containers +integer-gmp -random-initial-seed,
any.haskell-lexer ==1.1,
any.hedgehog ==1.1.1,
any.hpc ==0.6.1.0,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.indexed-traversable ==0.1.2,
any.indexed-traversable-instances ==0.1.1,
any.integer-gmp ==1.0.3.0,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.lifted-async ==0.10.2.2,
any.lifted-base ==0.2.3.12,
any.mmorph ==1.2.0,
any.monad-control ==1.0.3.1,
any.mtl ==2.2.2,
any.optparse-applicative ==0.17.0.0,
optparse-applicative +process,
any.parsec ==3.1.14.0,
any.pretty ==1.1.3.6,
any.pretty-show ==1.10,
any.prettyprinter ==1.7.1,
prettyprinter -buildreadme +text,
any.primitive ==0.7.3.0,
any.process ==1.6.13.2,
any.profunctors ==5.6.2,
any.random ==1.2.1,
any.resourcet ==1.2.4.3,
any.rts ==1.0.1,
any.scientific ==0.3.7.0,
scientific -bytestring-builder -integer-simple,
any.semialign ==1.2.0.1,
semialign +semigroupoids,
any.semigroupoids ==5.3.7,
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
any.split ==0.2.3.4,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.stm ==2.5.0.1,
any.strict ==0.4.0.1,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.tasty ==1.4.2.1,
tasty +clock +unix,
any.tasty-bench ==0.3.1,
tasty-bench -debug +tasty,
any.template-haskell ==2.16.0.0,
any.terminal-size ==0.3.3,
any.terminfo ==0.4.1.4,
any.text ==1.2.4.1,
any.text-builder ==0.6.7,
any.text-builder-dev ==0.3.1,
any.text-short ==0.1.5,
text-short -asserts,
any.th-abstraction ==0.4.3.0,
any.th-compat ==0.1.3,
any.th-lift ==0.8.2,
any.th-lift-instances ==0.1.19,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.9.3,
any.time-compat ==1.9.6.1,
time-compat -old-locale,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.type-equality ==1,
any.unbounded-delays ==0.1.1.1,
any.unix ==2.7.2.2,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.19.1,
unordered-containers -debug,
any.uuid-types ==1.0.5,
any.vector ==0.12.3.1,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.wcwidth ==0.0.2,
wcwidth -cli +split-base,
any.witherable ==0.4.2,
any.wl-pprint-annotated ==0.1.0.1
index-state: hackage.haskell.org 2022-05-02T18:30:49Z

View File

@ -1,4 +0,0 @@
with-compiler: ghc-8.10.7
package graphql-parser
ghc-options: -Werror

View File

@ -1,142 +0,0 @@
active-repositories: hackage.haskell.org:merge
constraints: any.OneTuple ==0.3.1,
any.PyF ==0.10.2.0,
PyF -python_test,
any.QuickCheck ==2.14.2,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.aeson ==2.0.3.0,
aeson -cffi +ordered-keymap,
any.ansi-terminal ==0.11.3,
ansi-terminal -example,
any.ansi-wl-pprint ==0.6.9,
ansi-wl-pprint -example,
any.array ==0.5.4.0,
any.assoc ==1.0.2,
any.async ==2.2.4,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.barbies ==2.0.3.1,
any.base ==4.14.3.0,
any.base-compat ==0.12.1,
any.base-compat-batteries ==0.12.1,
any.base-orphans ==0.8.6,
any.bifunctors ==5.5.11,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
any.bytestring ==0.10.12.0,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
any.concurrent-output ==1.10.15,
any.constraints ==0.13.3,
any.containers ==0.6.5.1,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
any.data-fix ==0.3.2,
any.deepseq ==1.4.4.0,
any.deferred-folds ==0.9.18.1,
any.directory ==1.3.6.0,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.dlist ==1.0,
dlist -werror,
any.erf ==2.0.0.0,
any.exceptions ==0.10.4,
any.filepath ==1.4.2.1,
any.foldl ==1.4.12,
any.ghc ==8.10.7,
any.ghc-boot ==8.10.7,
any.ghc-boot-th ==8.10.7,
any.ghc-heap ==8.10.7,
any.ghc-prim ==0.6.1,
any.ghci ==8.10.7,
any.happy ==1.20.0,
any.hashable ==1.4.0.2,
hashable +containers +integer-gmp -random-initial-seed,
any.haskell-lexer ==1.1,
any.hedgehog ==1.1.1,
any.hpc ==0.6.1.0,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.indexed-traversable ==0.1.2,
any.indexed-traversable-instances ==0.1.1,
any.integer-gmp ==1.0.3.0,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.lifted-async ==0.10.2.2,
any.lifted-base ==0.2.3.12,
any.mmorph ==1.2.0,
any.monad-control ==1.0.3.1,
any.mtl ==2.2.2,
any.optparse-applicative ==0.17.0.0,
optparse-applicative +process,
any.parsec ==3.1.14.0,
any.pretty ==1.1.3.6,
any.pretty-show ==1.10,
any.prettyprinter ==1.7.1,
prettyprinter -buildreadme +text,
any.primitive ==0.7.3.0,
any.process ==1.6.13.2,
any.profunctors ==5.6.2,
any.random ==1.2.1,
any.resourcet ==1.2.4.3,
any.rts ==1.0.1,
any.scientific ==0.3.7.0,
scientific -bytestring-builder -integer-simple,
any.semialign ==1.2.0.1,
semialign +semigroupoids,
any.semigroupoids ==5.3.7,
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
any.split ==0.2.3.4,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.stm ==2.5.0.1,
any.strict ==0.4.0.1,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.tasty ==1.4.2.1,
tasty +clock +unix,
any.tasty-bench ==0.3.1,
tasty-bench -debug +tasty,
any.template-haskell ==2.16.0.0,
any.terminal-size ==0.3.3,
any.terminfo ==0.4.1.4,
any.text ==1.2.4.1,
any.text-builder ==0.6.7,
any.text-builder-dev ==0.3.1,
any.text-short ==0.1.5,
text-short -asserts,
any.th-abstraction ==0.4.3.0,
any.th-compat ==0.1.3,
any.th-lift ==0.8.2,
any.th-lift-instances ==0.1.19,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.9.3,
any.time-compat ==1.9.6.1,
time-compat -old-locale,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.type-equality ==1,
any.unbounded-delays ==0.1.1.1,
any.unix ==2.7.2.2,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.19.1,
unordered-containers -debug,
any.uuid-types ==1.0.5,
any.vector ==0.12.3.1,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.wcwidth ==0.0.2,
wcwidth -cli +split-base,
any.weeder ==2.2.0,
any.witherable ==0.4.2,
any.wl-pprint-annotated ==0.1.0.1
index-state: hackage.haskell.org 2022-05-02T18:30:49Z

View File

@ -1 +0,0 @@
../../cabal.project

View File

@ -1,4 +0,0 @@
with-compiler: ghc-9.2.2
package graphql-parser
ghc-options: -Werror

View File

@ -1,14 +1,12 @@
active-repositories: hackage.haskell.org:merge
constraints: any.OneTuple ==0.3.1,
any.PyF ==0.10.2.0,
PyF -python_test,
any.QuickCheck ==2.14.2,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.aeson ==2.0.3.0,
any.aeson ==2.1.1.0,
aeson -cffi +ordered-keymap,
any.ansi-terminal ==0.11.3,
ansi-terminal -example,
any.ansi-terminal ==0.11.4,
ansi-terminal -example +win32-2-13-1,
any.ansi-wl-pprint ==0.6.9,
ansi-wl-pprint -example,
any.array ==0.5.4.0,
@ -17,28 +15,28 @@ constraints: any.OneTuple ==0.3.1,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.barbies ==2.0.3.1,
any.base ==4.15.1.0,
any.base-compat ==0.12.1,
any.base-compat-batteries ==0.12.1,
any.base-orphans ==0.8.6,
any.bifunctors ==5.5.11,
any.autodocodec ==0.2.0.2,
any.barbies ==2.0.4.0,
any.base ==4.16.4.0,
any.base-compat ==0.12.2,
any.base-compat-batteries ==0.12.2,
any.base-orphans ==0.8.7,
any.bifunctors ==5.5.14,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
any.bytestring ==0.10.12.1,
any.clock ==0.8.3,
clock -llvm,
any.binary ==0.8.9.0,
any.bytestring ==0.11.3.1,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
any.concurrent-output ==1.10.15,
any.constraints ==0.13.3,
any.containers ==0.6.4.1,
any.concurrent-output ==1.10.17,
any.constraints ==0.13.4,
any.containers ==0.6.5.1,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
any.data-array-byte ==0.1.0.1,
any.data-fix ==0.3.2,
any.deepseq ==1.4.5.0,
any.deferred-folds ==0.9.18.1,
any.deepseq ==1.4.6.1,
any.deferred-folds ==0.9.18.2,
any.directory ==1.3.6.2,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
@ -46,44 +44,40 @@ constraints: any.OneTuple ==0.3.1,
dlist -werror,
any.erf ==2.0.0.0,
any.exceptions ==0.10.4,
any.filepath ==1.4.2.1,
any.foldl ==1.4.12,
any.ghc ==9.0.2,
any.ghc-bignum ==1.1,
any.ghc-boot ==9.0.2,
any.ghc-boot-th ==9.0.2,
any.ghc-heap ==9.0.2,
any.ghc-prim ==0.7.0,
any.ghci ==9.0.2,
any.filepath ==1.4.2.2,
any.foldl ==1.4.14,
any.generically ==0.1,
any.ghc-bignum ==1.2,
any.ghc-boot-th ==9.2.5,
any.ghc-prim ==0.8.0,
any.happy ==1.20.0,
any.hashable ==1.4.0.2,
hashable +containers +integer-gmp -random-initial-seed,
any.haskell-lexer ==1.1,
any.hedgehog ==1.1.1,
any.hpc ==0.6.1.0,
any.hashable ==1.4.2.0,
hashable +integer-gmp -random-initial-seed,
any.haskell-lexer ==1.1.1,
any.hedgehog ==1.2,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.indexed-traversable ==0.1.2,
any.indexed-traversable-instances ==0.1.1,
any.indexed-traversable-instances ==0.1.1.1,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.lifted-async ==0.10.2.2,
any.isomorphism-class ==0.1.0.7,
any.lifted-async ==0.10.2.3,
any.lifted-base ==0.2.3.12,
any.mmorph ==1.2.0,
any.monad-control ==1.0.3.1,
any.mtl ==2.2.2,
any.optparse-applicative ==0.17.0.0,
optparse-applicative +process,
any.parsec ==3.1.14.0,
any.pretty ==1.1.3.6,
any.pretty-show ==1.10,
any.prettyprinter ==1.7.1,
prettyprinter -buildreadme +text,
any.primitive ==0.7.3.0,
any.process ==1.6.13.2,
any.primitive ==0.7.4.0,
any.process ==1.6.16.0,
any.profunctors ==5.6.2,
any.random ==1.2.1,
any.resourcet ==1.2.4.3,
any.random ==1.2.1.1,
any.resourcet ==1.2.6,
any.rts ==1.0.2,
any.scientific ==0.3.7.0,
scientific -bytestring-builder -integer-simple,
@ -91,51 +85,50 @@ constraints: any.OneTuple ==0.3.1,
semialign +semigroupoids,
any.semigroupoids ==5.3.7,
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
any.split ==0.2.3.4,
any.split ==0.2.3.5,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.stm ==2.5.0.0,
any.stm ==2.5.0.2,
any.strict ==0.4.0.1,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.tasty ==1.4.2.1,
tasty +clock +unix,
any.tasty-bench ==0.3.1,
any.tasty ==1.4.3,
tasty +unix,
any.tasty-bench ==0.3.2,
tasty-bench -debug +tasty,
any.template-haskell ==2.17.0.0,
any.template-haskell ==2.18.0.0,
any.terminal-size ==0.3.3,
any.terminfo ==0.4.1.5,
any.text ==1.2.5.0,
any.text-builder ==0.6.7,
any.text-builder-dev ==0.3.1,
any.text-builder-dev ==0.3.3.2,
any.text-short ==0.1.5,
text-short -asserts,
any.th-abstraction ==0.4.3.0,
any.th-compat ==0.1.3,
any.th-abstraction ==0.4.5.0,
any.th-compat ==0.1.4,
any.th-lift ==0.8.2,
any.th-lift-instances ==0.1.19,
any.th-lift-instances ==0.1.20,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.9.3,
any.time ==1.11.1.1,
any.time-compat ==1.9.6.1,
time-compat -old-locale,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
any.transformers-compat ==0.7.2,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.type-equality ==1,
any.unbounded-delays ==0.1.1.1,
any.unix ==2.7.2.2,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.19.1,
unordered-containers -debug,
any.uuid-types ==1.0.5,
any.vector ==0.12.3.1,
any.validity ==0.12.0.1,
any.validity-scientific ==0.2.0.3,
any.vector ==0.13.0.0,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.wcwidth ==0.0.2,
wcwidth -cli +split-base,
any.vector-stream ==0.1.0.0,
any.witherable ==0.4.2,
any.wl-pprint-annotated ==0.1.0.1
index-state: hackage.haskell.org 2022-05-02T18:30:49Z
index-state: hackage.haskell.org 2023-01-20T14:45:46Z

View File

@ -1,4 +1,4 @@
with-compiler: ghc-9.0.2
with-compiler: ghc-9.2.5
package graphql-parser
ghc-options: -Werror

View File

@ -1,11 +1,9 @@
active-repositories: hackage.haskell.org:merge
constraints: any.OneTuple ==0.3.1,
any.PyF ==0.10.2.0,
PyF -python_test,
any.QuickCheck ==2.14.2,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.aeson ==2.0.3.0,
any.aeson ==2.1.1.0,
aeson -cffi +ordered-keymap,
any.ansi-terminal ==0.11.3,
ansi-terminal -example,
@ -17,28 +15,29 @@ constraints: any.OneTuple ==0.3.1,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.autodocodec ==0.2.0.1,
any.barbies ==2.0.3.1,
any.base ==4.16.1.0,
any.base-compat ==0.12.1,
any.base-compat-batteries ==0.12.1,
any.base-orphans ==0.8.6,
any.bifunctors ==5.5.11,
any.base ==4.16.4.0,
any.base-compat ==0.12.2,
any.base-compat-batteries ==0.12.2,
any.base-orphans ==0.8.7,
any.bifunctors ==5.5.13,
bifunctors +semigroups +tagged,
any.binary ==0.8.9.0,
any.bytestring ==0.11.3.0,
any.bytestring ==0.11.3.1,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
any.concurrent-output ==1.10.15,
any.constraints ==0.13.3,
any.concurrent-output ==1.10.16,
any.constraints ==0.13.4,
any.containers ==0.6.5.1,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
any.data-fix ==0.3.2,
any.deepseq ==1.4.6.1,
any.deferred-folds ==0.9.18.1,
any.deferred-folds ==0.9.18.2,
any.directory ==1.3.6.2,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
@ -48,42 +47,38 @@ constraints: any.OneTuple ==0.3.1,
any.exceptions ==0.10.4,
any.filepath ==1.4.2.2,
any.foldl ==1.4.12,
any.ghc ==9.2.2,
any.generically ==0.1,
any.ghc-bignum ==1.2,
any.ghc-boot ==9.2.2,
any.ghc-boot-th ==9.2.2,
any.ghc-heap ==9.2.2,
any.ghc-boot-th ==9.2.5,
any.ghc-prim ==0.8.0,
any.ghci ==9.2.2,
any.happy ==1.20.0,
any.hashable ==1.4.0.2,
any.hashable ==1.4.1.0,
hashable +containers +integer-gmp -random-initial-seed,
any.haskell-lexer ==1.1,
any.hedgehog ==1.1.1,
any.hpc ==0.6.1.0,
any.hedgehog ==1.2,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.indexed-traversable ==0.1.2,
any.indexed-traversable-instances ==0.1.1,
any.indexed-traversable-instances ==0.1.1.1,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.lifted-async ==0.10.2.2,
any.isomorphism-class ==0.1.0.7,
any.lifted-async ==0.10.2.3,
any.lifted-base ==0.2.3.12,
any.mmorph ==1.2.0,
any.monad-control ==1.0.3.1,
any.mtl ==2.2.2,
any.optparse-applicative ==0.17.0.0,
optparse-applicative +process,
any.parsec ==3.1.15.0,
any.pretty ==1.1.3.6,
any.pretty-show ==1.10,
any.prettyprinter ==1.7.1,
prettyprinter -buildreadme +text,
any.primitive ==0.7.3.0,
any.process ==1.6.13.2,
any.primitive ==0.7.4.0,
any.process ==1.6.16.0,
any.profunctors ==5.6.2,
any.random ==1.2.1,
any.resourcet ==1.2.4.3,
any.random ==1.2.1.1,
any.resourcet ==1.2.6,
any.rts ==1.0.2,
any.scientific ==0.3.7.0,
scientific -bytestring-builder -integer-simple,
@ -91,7 +86,7 @@ constraints: any.OneTuple ==0.3.1,
semialign +semigroupoids,
any.semigroupoids ==5.3.7,
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
any.split ==0.2.3.4,
any.split ==0.2.3.5,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.stm ==2.5.0.2,
@ -99,22 +94,21 @@ constraints: any.OneTuple ==0.3.1,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.tasty ==1.4.2.1,
any.tasty ==1.4.2.3,
tasty +clock +unix,
any.tasty-bench ==0.3.1,
any.tasty-bench ==0.3.2,
tasty-bench -debug +tasty,
any.template-haskell ==2.18.0.0,
any.terminal-size ==0.3.3,
any.terminfo ==0.4.1.5,
any.text ==1.2.5.0,
any.text-builder ==0.6.7,
any.text-builder-dev ==0.3.1,
any.text-builder-dev ==0.3.3,
any.text-short ==0.1.5,
text-short -asserts,
any.th-abstraction ==0.4.3.0,
any.th-compat ==0.1.3,
any.th-abstraction ==0.4.5.0,
any.th-compat ==0.1.4,
any.th-lift ==0.8.2,
any.th-lift-instances ==0.1.19,
any.th-lift-instances ==0.1.20,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.11.1.1,
@ -123,7 +117,7 @@ constraints: any.OneTuple ==0.3.1,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
any.transformers-compat ==0.7.2,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.type-equality ==1,
any.unbounded-delays ==0.1.1.1,
@ -132,10 +126,13 @@ constraints: any.OneTuple ==0.3.1,
any.unordered-containers ==0.2.19.1,
unordered-containers -debug,
any.uuid-types ==1.0.5,
any.vector ==0.12.3.1,
any.validity ==0.12.0.1,
any.validity-scientific ==0.2.0.3,
any.vector ==0.13.0.0,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.vector-stream ==0.1.0.0,
any.wcwidth ==0.0.2,
wcwidth -cli +split-base,
any.witherable ==0.4.2,
any.wl-pprint-annotated ==0.1.0.1
index-state: hackage.haskell.org 2022-05-06T13:54:12Z
index-state: hackage.haskell.org 2022-11-15T13:48:19Z

View File

@ -1,4 +1,4 @@
with-compiler: ghc-8.10.7
with-compiler: ghc-9.2.5
allow-newer:
weeder:optparse-applicative

View File

@ -18,9 +18,20 @@ source-repository head
common common-all
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
-- Insisting on export lists might help with compile times, and help to document modules:
-Wmissing-export-lists
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
if impl(ghc >=9.2)
ghc-options: -Wno-implicit-lift

View File

@ -29,3 +29,18 @@ library
exposed-modules:
Data.Time.Clock.Units
Hasura.Prelude
ghc-options:
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies

View File

@ -1 +0,0 @@
../../cabal.project

View File

@ -1,5 +0,0 @@
with-compiler: ghc-8.10.7
package pg-client
ghc-options: -Werror

View File

@ -1,142 +0,0 @@
active-repositories: hackage.haskell.org:merge
constraints: any.OneTuple ==0.3.1,
any.PyF ==0.10.2.0,
PyF -python_test,
any.QuickCheck ==2.14.2,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.aeson ==2.0.3.0,
aeson -cffi +ordered-keymap,
any.ansi-terminal ==0.11.3,
ansi-terminal -example,
any.ansi-wl-pprint ==0.6.9,
ansi-wl-pprint -example,
any.array ==0.5.4.0,
any.assoc ==1.0.2,
any.async ==2.2.4,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.barbies ==2.0.3.1,
any.base ==4.14.3.0,
any.base-compat ==0.12.1,
any.base-compat-batteries ==0.12.1,
any.base-orphans ==0.8.6,
any.bifunctors ==5.5.11,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
any.bytestring ==0.10.12.0,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
any.concurrent-output ==1.10.15,
any.constraints ==0.13.3,
any.containers ==0.6.5.1,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
any.data-fix ==0.3.2,
any.deepseq ==1.4.4.0,
any.deferred-folds ==0.9.18.1,
any.directory ==1.3.6.0,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.dlist ==1.0,
dlist -werror,
any.erf ==2.0.0.0,
any.exceptions ==0.10.4,
any.filepath ==1.4.2.1,
any.foldl ==1.4.12,
any.ghc ==8.10.7,
any.ghc-boot ==8.10.7,
any.ghc-boot-th ==8.10.7,
any.ghc-heap ==8.10.7,
any.ghc-prim ==0.6.1,
any.ghci ==8.10.7,
any.happy ==1.20.0,
any.hashable ==1.4.0.2,
hashable +containers +integer-gmp -random-initial-seed,
any.haskell-lexer ==1.1,
any.hedgehog ==1.1.1,
any.hpc ==0.6.1.0,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.indexed-traversable ==0.1.2,
any.indexed-traversable-instances ==0.1.1,
any.integer-gmp ==1.0.3.0,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.lifted-async ==0.10.2.2,
any.lifted-base ==0.2.3.12,
any.mmorph ==1.2.0,
any.monad-control ==1.0.3.1,
any.mtl ==2.2.2,
any.optparse-applicative ==0.17.0.0,
optparse-applicative +process,
any.parsec ==3.1.14.0,
any.pretty ==1.1.3.6,
any.pretty-show ==1.10,
any.prettyprinter ==1.7.1,
prettyprinter -buildreadme +text,
any.primitive ==0.7.3.0,
any.process ==1.6.13.2,
any.profunctors ==5.6.2,
any.random ==1.2.1,
any.resourcet ==1.2.4.3,
any.rts ==1.0.1,
any.scientific ==0.3.7.0,
scientific -bytestring-builder -integer-simple,
any.semialign ==1.2.0.1,
semialign +semigroupoids,
any.semigroupoids ==5.3.7,
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
any.split ==0.2.3.4,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.stm ==2.5.0.1,
any.strict ==0.4.0.1,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.tasty ==1.4.2.1,
tasty +clock +unix,
any.tasty-bench ==0.3.1,
tasty-bench -debug +tasty,
any.template-haskell ==2.16.0.0,
any.terminal-size ==0.3.3,
any.terminfo ==0.4.1.4,
any.text ==1.2.4.1,
any.text-builder ==0.6.7,
any.text-builder-dev ==0.3.1,
any.text-short ==0.1.5,
text-short -asserts,
any.th-abstraction ==0.4.3.0,
any.th-compat ==0.1.3,
any.th-lift ==0.8.2,
any.th-lift-instances ==0.1.19,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.9.3,
any.time-compat ==1.9.6.1,
time-compat -old-locale,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.type-equality ==1,
any.unbounded-delays ==0.1.1.1,
any.unix ==2.7.2.2,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.19.1,
unordered-containers -debug,
any.uuid-types ==1.0.5,
any.vector ==0.12.3.1,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.wcwidth ==0.0.2,
wcwidth -cli +split-base,
any.weeder ==2.2.0,
any.witherable ==0.4.2,
any.wl-pprint-annotated ==0.1.0.1
index-state: hackage.haskell.org 2022-05-02T18:30:49Z

View File

@ -1,4 +0,0 @@
with-compiler: ghc-8.10.7
allow-newer:
weeder:optparse-applicative

View File

@ -1 +0,0 @@
../../cabal.project

View File

@ -5,11 +5,11 @@ constraints: any.Cabal ==3.6.3.0,
any.QuickCheck ==2.14.2,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.aeson ==2.0.3.0,
any.aeson ==2.1.1.0,
aeson -cffi +ordered-keymap,
any.aeson-casing ==0.2.0.0,
any.ansi-terminal ==0.11.1,
ansi-terminal -example,
any.ansi-terminal ==0.11.4,
ansi-terminal -example +win32-2-13-1,
any.ansi-wl-pprint ==0.6.9,
ansi-wl-pprint -example,
any.array ==0.5.4.0,
@ -18,27 +18,23 @@ constraints: any.Cabal ==3.6.3.0,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.base ==4.16.1.0,
any.base-compat ==0.12.1,
any.base-compat-batteries ==0.12.1,
any.base-orphans ==0.8.6,
any.base ==4.16.4.0,
any.base-compat ==0.12.2,
any.base-compat-batteries ==0.12.2,
any.base-orphans ==0.8.7,
any.base-prelude ==1.6.1,
any.base16-bytestring ==1.0.2.0,
any.base64-bytestring ==1.2.1.0,
any.bifunctors ==5.5.11,
any.bifunctors ==5.5.14,
bifunctors +semigroups +tagged,
any.binary ==0.8.9.0,
any.binary-parser ==0.5.7.1,
any.bytestring ==0.11.3.0,
any.bytestring-strict-builder ==0.4.5.5,
any.bytestring-tree-builder ==0.2.7.9,
any.binary-parser ==0.5.7.3,
any.bytestring ==0.11.3.1,
any.bytestring-strict-builder ==0.4.5.6,
any.bytestring-tree-builder ==0.2.7.10,
any.call-stack ==0.4.0,
any.case-insensitive ==1.2.1.0,
any.cereal ==0.5.8.2,
any.cereal ==0.5.8.3,
cereal -bytestring-builder,
any.charset ==0.3.9,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
@ -48,7 +44,8 @@ constraints: any.Cabal ==3.6.3.0,
any.contravariant-extras ==0.3.5.3,
any.cryptohash-md5 ==0.11.101.0,
any.cryptohash-sha1 ==0.11.101.0,
any.data-bword ==0.1.0.1,
any.data-array-byte ==0.1.0.1,
any.data-bword ==0.1.0.2,
any.data-checked ==0.3,
any.data-default-class ==0.1.2.0,
any.data-dword ==0.3.2.1,
@ -57,45 +54,42 @@ constraints: any.Cabal ==3.6.3.0,
any.data-serializer ==0.3.5,
any.data-textual ==0.3.0.3,
any.deepseq ==1.4.6.1,
any.deferred-folds ==0.9.18.1,
any.deferred-folds ==0.9.18.2,
any.directory ==1.3.6.2,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.dlist ==1.0,
dlist -werror,
any.ekg-core ==0.1.1.7,
any.entropy ==0.4.1.7,
entropy -halvm,
any.errors ==2.3.0,
any.entropy ==0.4.1.10,
entropy -donotgetentropy,
any.exceptions ==0.10.4,
any.file-embed ==0.0.15.0,
any.filepath ==1.4.2.2,
any.foldl ==1.4.12,
any.ghc ==9.2.2,
any.foldl ==1.4.14,
any.generically ==0.1,
any.ghc-bignum ==1.2,
any.ghc-boot ==9.2.2,
any.ghc-boot-th ==9.2.2,
any.ghc-heap ==9.2.2,
any.ghc-boot-th ==9.2.5,
any.ghc-prim ==0.8.0,
any.ghci ==9.2.2,
any.hashable ==1.4.0.2,
hashable +containers +integer-gmp -random-initial-seed,
any.hashtables ==1.3,
any.hashable ==1.4.2.0,
hashable +integer-gmp -random-initial-seed,
any.hashtables ==1.3.1,
hashtables -bounds-checking -debug -detailed-profiling -portable -sse42 +unsafe-tricks,
any.hasql ==1.5.0.2,
any.haskell-lexer ==1.1.1,
any.hasql ==1.5.0.5,
any.hasql-pool ==0.5.2.2,
any.hasql-transaction ==1.0.1.1,
any.hpc ==0.6.1.0,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.hspec ==2.9.6,
any.hspec-core ==2.9.6,
any.hspec-discover ==2.9.6,
any.hspec ==2.10.8,
any.hspec-core ==2.10.8,
any.hspec-discover ==2.10.8,
any.hspec-expectations ==0.8.2,
any.indexed-traversable ==0.1.2,
any.indexed-traversable-instances ==0.1.1,
any.indexed-traversable-instances ==0.1.1.1,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.isomorphism-class ==0.1.0.7,
any.mmorph ==1.2.0,
any.monad-control ==1.0.3.1,
any.mtl ==2.2.2,
@ -106,24 +100,23 @@ constraints: any.Cabal ==3.6.3.0,
any.optparse-applicative ==0.17.0.0,
optparse-applicative +process,
any.parsec ==3.1.15.0,
any.parsers ==0.12.10,
any.parsers ==0.12.11,
parsers +attoparsec +binary +parsec,
any.postgresql-binary ==0.12.4.2,
any.postgresql-libpq ==0.9.4.3,
any.postgresql-binary ==0.12.5,
any.postgresql-libpq ==0.9.5.0,
postgresql-libpq -use-pkg-config,
any.pretty ==1.1.3.6,
any.primitive ==0.7.3.0,
any.process ==1.6.13.2,
any.primitive ==0.7.4.0,
any.process ==1.6.16.0,
any.profunctors ==5.6.2,
any.quickcheck-io ==0.2.0,
any.random ==1.2.1,
any.random ==1.2.1.1,
any.resource-pool ==0.2.3.2,
resource-pool -developer,
any.retry ==0.9.2.0,
any.retry ==0.9.3.0,
retry -lib-werror,
any.rts ==1.0.2,
any.safe ==0.3.19,
any.safe-exceptions ==0.1.7.2,
any.safe-exceptions ==0.1.7.3,
any.scientific ==0.3.7.0,
scientific -bytestring-builder -integer-simple,
any.semialign ==1.2.0.1,
@ -133,7 +126,7 @@ constraints: any.Cabal ==3.6.3.0,
any.semigroups ==0.20,
semigroups +binary +bytestring -bytestring-builder +containers +deepseq +hashable +tagged +template-haskell +text +transformers +unordered-containers,
any.setenv ==0.1.1.3,
any.split ==0.2.3.4,
any.split ==0.2.3.5,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.stm ==2.5.0.2,
@ -141,45 +134,40 @@ constraints: any.Cabal ==3.6.3.0,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.tasty ==1.4.2.1,
tasty +clock +unix,
any.tasty-bench ==0.3.1,
any.tasty ==1.4.3,
tasty +unix,
any.tasty-bench ==0.3.2,
tasty-bench -debug +tasty,
any.template-haskell ==2.18.0.0,
any.template-haskell-compat-v0208 ==0.1.7,
any.terminfo ==0.4.1.5,
any.template-haskell-compat-v0208 ==0.1.9.1,
any.text ==1.2.5.0,
any.text-builder ==0.6.6.5,
any.text-builder-dev ==0.2.0.1,
any.text-conversions ==0.3.1,
any.text-builder ==0.6.7,
any.text-builder-dev ==0.3.3.2,
any.text-latin1 ==0.3.1,
any.text-printer ==0.5.0.2,
any.text-short ==0.1.5,
text-short -asserts,
any.tf-random ==0.5,
any.th-abstraction ==0.4.3.0,
any.th-abstraction ==0.4.5.0,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.11.1.1,
any.time-compat ==1.9.6.1,
time-compat -old-locale,
any.tostring ==0.2.1.1,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
any.transformers-compat ==0.7.2,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.type-hint ==0.1,
any.unbounded-delays ==0.1.1.1,
any.unix ==2.7.2.2,
any.unordered-containers ==0.2.18.0,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.19.1,
unordered-containers -debug,
any.utf8-string ==1.0.2,
any.uuid ==1.3.15,
any.uuid-types ==1.0.5,
any.vector ==0.12.3.1,
any.vector ==0.13.0.0,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.wcwidth ==0.0.2,
wcwidth -cli +split-base,
any.vector-stream ==0.1.0.0,
any.witherable ==0.4.2
index-state: hackage.haskell.org 2022-04-11T12:59:05Z
index-state: hackage.haskell.org 2023-01-20T14:45:46Z

View File

@ -1,4 +1,4 @@
with-compiler: ghc-9.2.2
with-compiler: ghc-9.2.5
-- TODO: Remove this once ekg-core has been updated with relaxed upper bounds
-- for 'base' and 'ghc-prim'.

View File

@ -1,15 +1,15 @@
active-repositories: hackage.haskell.org:merge
constraints: any.Cabal ==3.2.1.0,
constraints: any.Cabal ==3.6.3.0,
any.HUnit ==1.6.2.0,
any.OneTuple ==0.3.1,
any.QuickCheck ==2.14.2,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.aeson ==2.0.3.0,
any.aeson ==2.1.1.0,
aeson -cffi +ordered-keymap,
any.aeson-casing ==0.2.0.0,
any.ansi-terminal ==0.11.1,
ansi-terminal -example,
any.ansi-terminal ==0.11.4,
ansi-terminal -example +win32-2-13-1,
any.ansi-wl-pprint ==0.6.9,
ansi-wl-pprint -example,
any.array ==0.5.4.0,
@ -18,27 +18,23 @@ constraints: any.Cabal ==3.2.1.0,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.base ==4.14.3.0,
any.base-compat ==0.12.1,
any.base-compat-batteries ==0.12.1,
any.base-orphans ==0.8.6,
any.base ==4.16.4.0,
any.base-compat ==0.12.2,
any.base-compat-batteries ==0.12.2,
any.base-orphans ==0.8.7,
any.base-prelude ==1.6.1,
any.base16-bytestring ==1.0.2.0,
any.base64-bytestring ==1.2.1.0,
any.bifunctors ==5.5.11,
any.bifunctors ==5.5.14,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
any.binary-parser ==0.5.7.1,
any.bytestring ==0.10.12.0,
any.bytestring-strict-builder ==0.4.5.5,
any.bytestring-tree-builder ==0.2.7.9,
any.binary ==0.8.9.0,
any.binary-parser ==0.5.7.3,
any.bytestring ==0.11.3.1,
any.bytestring-strict-builder ==0.4.5.6,
any.bytestring-tree-builder ==0.2.7.10,
any.call-stack ==0.4.0,
any.case-insensitive ==1.2.1.0,
any.cereal ==0.5.8.2,
any.cereal ==0.5.8.3,
cereal -bytestring-builder,
any.charset ==0.3.9,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
@ -48,7 +44,8 @@ constraints: any.Cabal ==3.2.1.0,
any.contravariant-extras ==0.3.5.3,
any.cryptohash-md5 ==0.11.101.0,
any.cryptohash-sha1 ==0.11.101.0,
any.data-bword ==0.1.0.1,
any.data-array-byte ==0.1.0.1,
any.data-bword ==0.1.0.2,
any.data-checked ==0.3,
any.data-default-class ==0.1.2.0,
any.data-dword ==0.3.2.1,
@ -56,46 +53,43 @@ constraints: any.Cabal ==3.2.1.0,
any.data-fix ==0.3.2,
any.data-serializer ==0.3.5,
any.data-textual ==0.3.0.3,
any.deepseq ==1.4.4.0,
any.deferred-folds ==0.9.18.1,
any.directory ==1.3.6.0,
any.deepseq ==1.4.6.1,
any.deferred-folds ==0.9.18.2,
any.directory ==1.3.6.2,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.dlist ==1.0,
dlist -werror,
any.ekg-core ==0.1.1.7,
any.entropy ==0.4.1.7,
entropy -halvm,
any.errors ==2.3.0,
any.entropy ==0.4.1.10,
entropy -donotgetentropy,
any.exceptions ==0.10.4,
any.file-embed ==0.0.15.0,
any.filepath ==1.4.2.1,
any.foldl ==1.4.12,
any.ghc ==8.10.7,
any.ghc-boot ==8.10.7,
any.ghc-boot-th ==8.10.7,
any.ghc-heap ==8.10.7,
any.ghc-prim ==0.6.1,
any.ghci ==8.10.7,
any.hashable ==1.4.0.2,
hashable +containers +integer-gmp -random-initial-seed,
any.hashtables ==1.3,
any.filepath ==1.4.2.2,
any.foldl ==1.4.14,
any.generically ==0.1,
any.ghc-bignum ==1.2,
any.ghc-boot-th ==9.2.5,
any.ghc-prim ==0.8.0,
any.hashable ==1.4.2.0,
hashable +integer-gmp -random-initial-seed,
any.hashtables ==1.3.1,
hashtables -bounds-checking -debug -detailed-profiling -portable -sse42 +unsafe-tricks,
any.hasql ==1.5.0.2,
any.haskell-lexer ==1.1.1,
any.hasql ==1.5.0.5,
any.hasql-pool ==0.5.2.2,
any.hasql-transaction ==1.0.1.1,
any.hpc ==0.6.1.0,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.hspec ==2.9.6,
any.hspec-core ==2.9.6,
any.hspec-discover ==2.9.6,
any.hspec ==2.10.8,
any.hspec-core ==2.10.8,
any.hspec-discover ==2.10.8,
any.hspec-expectations ==0.8.2,
any.indexed-traversable ==0.1.2,
any.indexed-traversable-instances ==0.1.1,
any.integer-gmp ==1.0.3.0,
any.indexed-traversable-instances ==0.1.1.1,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.isomorphism-class ==0.1.0.7,
any.mmorph ==1.2.0,
any.monad-control ==1.0.3.1,
any.mtl ==2.2.2,
@ -105,25 +99,24 @@ constraints: any.Cabal ==3.2.1.0,
any.network-ip ==0.3.0.3,
any.optparse-applicative ==0.17.0.0,
optparse-applicative +process,
any.parsec ==3.1.14.0,
any.parsers ==0.12.10,
any.parsec ==3.1.15.0,
any.parsers ==0.12.11,
parsers +attoparsec +binary +parsec,
any.postgresql-binary ==0.12.4.2,
any.postgresql-libpq ==0.9.4.3,
any.postgresql-binary ==0.12.5,
any.postgresql-libpq ==0.9.5.0,
postgresql-libpq -use-pkg-config,
any.pretty ==1.1.3.6,
any.primitive ==0.7.3.0,
any.process ==1.6.13.2,
any.primitive ==0.7.4.0,
any.process ==1.6.16.0,
any.profunctors ==5.6.2,
any.quickcheck-io ==0.2.0,
any.random ==1.2.1,
any.random ==1.2.1.1,
any.resource-pool ==0.2.3.2,
resource-pool -developer,
any.retry ==0.9.2.0,
any.retry ==0.9.3.0,
retry -lib-werror,
any.rts ==1.0.1,
any.safe ==0.3.19,
any.safe-exceptions ==0.1.7.2,
any.rts ==1.0.2,
any.safe-exceptions ==0.1.7.3,
any.scientific ==0.3.7.0,
scientific -bytestring-builder -integer-simple,
any.semialign ==1.2.0.1,
@ -133,53 +126,48 @@ constraints: any.Cabal ==3.2.1.0,
any.semigroups ==0.20,
semigroups +binary +bytestring -bytestring-builder +containers +deepseq +hashable +tagged +template-haskell +text +transformers +unordered-containers,
any.setenv ==0.1.1.3,
any.split ==0.2.3.4,
any.split ==0.2.3.5,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.stm ==2.5.0.1,
any.stm ==2.5.0.2,
any.strict ==0.4.0.1,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.tasty ==1.4.2.1,
tasty +clock +unix,
any.tasty-bench ==0.3.1,
any.tasty ==1.4.3,
tasty +unix,
any.tasty-bench ==0.3.2,
tasty-bench -debug +tasty,
any.template-haskell ==2.16.0.0,
any.template-haskell-compat-v0208 ==0.1.7,
any.terminfo ==0.4.1.4,
any.text ==1.2.4.1,
any.text-builder ==0.6.6.5,
any.text-builder-dev ==0.2.0.1,
any.text-conversions ==0.3.1,
any.template-haskell ==2.18.0.0,
any.template-haskell-compat-v0208 ==0.1.9.1,
any.text ==1.2.5.0,
any.text-builder ==0.6.7,
any.text-builder-dev ==0.3.3.2,
any.text-latin1 ==0.3.1,
any.text-printer ==0.5.0.2,
any.text-short ==0.1.5,
text-short -asserts,
any.tf-random ==0.5,
any.th-abstraction ==0.4.3.0,
any.th-abstraction ==0.4.5.0,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.9.3,
any.time ==1.11.1.1,
any.time-compat ==1.9.6.1,
time-compat -old-locale,
any.tostring ==0.2.1.1,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
any.transformers-compat ==0.7.2,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.type-hint ==0.1,
any.unbounded-delays ==0.1.1.1,
any.unix ==2.7.2.2,
any.unordered-containers ==0.2.18.0,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.19.1,
unordered-containers -debug,
any.utf8-string ==1.0.2,
any.uuid ==1.3.15,
any.uuid-types ==1.0.5,
any.vector ==0.12.3.1,
any.vector ==0.13.0.0,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.wcwidth ==0.0.2,
wcwidth -cli +split-base,
any.vector-stream ==0.1.0.0,
any.witherable ==0.4.2
index-state: hackage.haskell.org 2022-04-11T12:59:05Z
index-state: hackage.haskell.org 2023-01-20T14:45:46Z

View File

@ -0,0 +1,4 @@
with-compiler: ghc-9.2.5
allow-newer:
weeder:optparse-applicative

View File

@ -20,11 +20,22 @@ source-repository head
common common-all
ghc-options:
-foptimal-applicative-do
-Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
-- This is just to keep compile-times in check and might be adjusted later (See mono #2610):
-fmax-simplifier-iterations=2
-- Insisting on export lists might help with compile times, and help to document modules:
-Wmissing-export-lists
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
default-language: Haskell2010
default-extensions:

View File

@ -25,7 +25,25 @@ flag developer
default: False
manual: True
common common-all
ghc-options:
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
library
import: common-all
exposed-modules:
Data.Pool
@ -44,9 +62,8 @@ library
ghc-prof-options: -auto-all
cpp-options: -DASSERTS -DDEBUG
ghc-options: -Wall
test-suite resource-pool-tests
import: common-all
ghc-options: -threaded -rtsopts
type: exitcode-stdio-1.0
build-depends:

View File

@ -25,7 +25,28 @@ flag profiling
manual: True
default: False
common common-all
default-language: Haskell2010
ghc-options:
-Werror
-foptimal-applicative-do
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
library
import: common-all
exposed-modules:
Data.GADT.Compare.Extended
Hasura.GraphQL.Parser
@ -88,7 +109,6 @@ library
TypeApplications
TypeFamilies
TypeOperators
ghc-options: -foptimal-applicative-do -Wall -Werror -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wmissing-export-lists
build-depends:
aeson
, base
@ -115,9 +135,9 @@ library
ghc-options: -fexpose-all-unfoldings -O2
else
ghc-options: -O0
default-language: Haskell2010
test-suite tests
import: common-all
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
@ -162,7 +182,6 @@ test-suite tests
TypeApplications
TypeFamilies
TypeOperators
ghc-options: -foptimal-applicative-do -Wall -Werror -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wmissing-export-lists -main-is Main
build-tool-depends: hspec-discover:hspec-discover
build-depends:
hasura-schema-parsers

View File

@ -93,7 +93,24 @@ library
TypeApplications
TypeSynonymInstances
ghc-options: -Wall -Werror
ghc-options:
-Werror
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
-Wno-unused-packages
-Wno-redundant-constraints
exposed-modules:
Harness.Backend.BigQuery