word-compat

Compatibility shim for the Int/Word internal change in GHC 9.2

Version on this page:0.0.4
LTS Haskell 24.24:0.0.6
Stackage Nightly 2025-12-21:0.0.6
Latest on Hackage:0.0.6

See all snapshots word-compat appears in

BSD-3-Clause licensed by Fumiaki Kinoshita
Maintained by [email protected]
This version can be pinned in stack with:word-compat-0.0.4@sha256:d3b47aa26239c0a2831b4f1d678d6aaa431116460b6ca34efb27a35c1801a9ae,1427

Module documentation for 0.0.4

Depends on 2 packages(full list with versions):

This package offers a workaround for the breaking change in Word/Int. Import GHC.Word.Compat in place of GHC.Word to take effect.

Changes

Revision history for word-compat

0.0.4

  • Added GHC.Prim.Compat, providing array operations compatible with GHC.Word.Compat

0.0.3

  • Added COMPLETE pragmas to pattern synonyms

0.0.2

  • Fixed a bug where bitReverse* were incorrectly exported on base >= 4.12
  • On GHCs older than 9.2, it now reexports data constructors instead of pattern synonyms

0.0.1

  • First version. Released on an unsuspecting world.