GaloisInc / what4

Symbolic formula representation and solver interaction library
155 stars 13 forks source link

Support building with GHC 9.10 #273

Closed RyanGlScott closed 2 months ago

RyanGlScott commented 2 months ago

base-4.20 (GHC 9.10) re-exports foldl' from the Prelude, which conflicts with the foldl' function defined in What4.Utils.Word16String. To avoid conflicts, we re-export What4.Utils.Word16String.foldl' using a qualified export, which avoids warnings in a backwards-compatible fashion.

We also fix a variety of -Wunused-imports warnings caused by the same change and add GHC 9.10.1 to CI.

Fixes https://github.com/GaloisInc/what4/issues/272.