word-compat

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

LTS Haskell 22.14:0.0.6
Stackage Nightly 2024-03-29: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.6@sha256:d732734492d91a0a2007154339ed8ed02d2c094340cee4af53db265d593f3fb2,1427

Module documentation for 0.0.6

Depends on 2 packages(full list with versions):
Used by 1 package in nightly-2023-02-07(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.6

  • Added a pattern synonym for Word64#

0.0.5

  • Supported Word64# on GHC 9.4 and older

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.