kowainik / stan

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

Avoid GHC warnings about 'Defined but not used' #522

Closed mpilgrem closed 8 months ago

mpilgrem commented 8 months ago

This solution uses a single #if #elif #endif (rather than the existing two) and moves all the affected code within each limb. It also allows for some simplication within each limb.

tomjaguarpaw commented 8 months ago

OK, sure, this seems fine. Set to auto-merge.