Skip to content

Instantly share code, notes, and snippets.

@o1lo01ol1o
Created July 28, 2018 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save o1lo01ol1o/1285e13fb7b8f7ebeb62564f8bf818d9 to your computer and use it in GitHub Desktop.
Save o1lo01ol1o/1285e13fb7b8f7ebeb62564f8bf818d9 to your computer and use it in GitHub Desktop.
ghc warning flags
# ghc-options:
# - -Weverything
# - -Wno-missing-exported-signatures # missing-exported-signatures turns off the more strict -Wmissing-signatures. See https://ghc.haskell.org/trac/ghc/ticket/14794#ticket
# - -Wno-missing-import-lists # Requires explicit imports of _every_ function (e.g. '$'); too strict
# - -Wno-missed-specialisations # When GHC can't specialize a polymorphic function. No big deal and requires fixing underlying libraries to solve.
# - -Wno-all-missed-specialisations # See missed-specialisations
# - -Wno-unsafe # Don't use Safe Haskell warnings
# - -Wno-missing-local-signatures # Warning for polymorphic local bindings. Don't think this is an issue
# - -Wno-monomorphism-restriction # Don't warn if the monomorphism restriction is used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment