Skip to content

Conversation

mniip
Copy link
Member

@mniip mniip commented Oct 9, 2025

I don't know what happened there with MIN_VERSION_mtl(2,3,0), but it prevented compilation on older GHCs, removing it fixes compilation, and I don't get any unused import warnings, across all GHC and mtl versions.

The package now builds against all dependency versions that can be planned, given the fixes in this PR:

  • base >=4.11 (GHC >=8.4) because in GHC 8.2, Data.Monoid.<> and Data.Semigroup.<> used to be different identifiers, and then became one identifier. This change is difficult to support and not worth it IMO.
  • fast-logger >=2.4.11 because that's when Show LogStr was introduced, which we use.

mniip added 3 commits October 7, 2025 20:16
Not sure who thought the imports are specific to mtl >=2.3
base >=4.11 (GHC >=8.4) because in GHC 8.2, Data.Monoid.<> and
Data.Semigroup.<> used to be different identifiers, and then became one
identifier. This change is difficult to support and not worth it IMO.

fast-logger >=2.4.11 because that's when Show LogStr was introduced,
which we use.
@mniip mniip requested review from Yuras, ilyakooo0 and odr October 9, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants