Created
July 28, 2018 20:41
-
-
Save o1lo01ol1o/1285e13fb7b8f7ebeb62564f8bf818d9 to your computer and use it in GitHub Desktop.
ghc warning flags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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