iand675 / hs-brotli

20 stars 5 forks source link

Upgrade to GHC 9 #2

Open s0kil opened 2 years ago

s0kil commented 2 years ago

Would be good to support GHC 9

s0kil commented 2 years ago

Error Message When Compiling

src/Codec/Compression/Brotli.hs:117:34: error:
    • Couldn't match expected type ‘GHC.Prim.Int#’
                  with actual type ‘GHC.Prim.Int32#’
    • In the first argument of ‘isTrue#’, namely ‘x’
      In the expression: isTrue# x
      In an equation for ‘isTrue’: isTrue (CInt (I32# x)) = isTrue# x
    |
117 | isTrue (CInt (I32# x)) = isTrue# x