Package Info

ghc-ghc-byteorder


"GHC.ByteOrder" API Compatibility Layer


Unspecified

This package transparently supplies the "GHC.ByteOrder" API as provided in 'base-4.11.0.0' for legacy GHC releases which didn't provide it yet (i.e. GHC 7.0 through GHC 8.2).

This release reexports GHC.ByteOrder from base via Cabal's 'reexported-modules' mechanism. For GHC 8.2 and earlier a different release of 'ghc-byteorder' (with the same minor version) is eligible by the Cabal solver with a backported "GHC.ByteOrder" module.

In order to use this compatibility layer, simply declare a dependency on 'ghc-byteorder' in your '.cabal' package description like so

> build-depends: ghc-byteorder ^>= 4.11.0.0

And your code will be able to access this respective API version of the module via the usual

> import GHC.ByteOrder

mechanism.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/ghc-byteorder

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
4.11.0.0.10-bp155.3.12 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-ghc-byteorder
  • ghc-ghc-byteorder-devel
4.11.0.0.10-bp154.2.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-ghc-byteorder
  • ghc-ghc-byteorder-devel