When recovering a package for future-proofing, we recommend that the following warnings be enabled. These strongly assist any potential author who may know nothing about the project in maintaining it.
- -Wall
- -Wincomplete-uni-patterns
- -Wincomplete-record-updates
- -Wmonomorphism-restriction
- -Wmissing-local-signatures
- -Wmissing-exported-signatures
- -Wmissing-import-lists
- -Wmissing-home-modules
- -Widentities
- -Wredundant-constraints
- -Wpartial-fields
- -Wmissed-specialisations
- -Wcpp-undef
- -Wduplicate-constraints
- -Wmissing-deriving-strategies
- -Wunused-packages
- -Wunused-type-patterns