kowainik / stan

🕵️ Haskell STatic ANalyser
https://kowainik.github.io/projects/stan
Mozilla Public License 2.0
562 stars 48 forks source link

Changes to avoid GHC warnings on building #521

Closed mpilgrem closed 8 months ago

mpilgrem commented 8 months ago

These changes avoid almost all GHC warnings on building. The one warning I could not work out how to avoid was:

<no location info>: warning: [-Wunused-packages]
    The following packages were specified via -package or -package-id flags,
    but were not needed for compilation:
      - base-4.17.2.0 (exposed by flag -package-id base-4.17.2.0)
tomjaguarpaw commented 8 months ago

Thanks! I'm not a big fan of making effort to avoid warnings, to be honest, but I'll take most of these. A couple I'd like to undo and rethink.

mpilgrem commented 8 months ago

@tomjaguarpaw, hopefully this now reflects what you were looking for.

tomjaguarpaw commented 8 months ago

Thanks! Set to automerge. Feel free to make to submit the other changes as a follow-up PR. I'll give them some thought.