ghc-byteorder: "GHC.ByteOrder" API Compatibility Layer

[ bsd3, ffi, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Last Documentation]

  • GHC
    • GHC.ByteOrder

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 4.11.0.0, 4.11.0.0.10
Dependencies base (>=4.11 && <5) [details]
License BSD-3-Clause
Author
Maintainer Herbert Valerio Riedel <hvr@gnu.org>
Revised Revision 5 made by AndreasAbel at 2023-10-10T14:04:09Z
Category FFI
Bug tracker https://github.com/hvr/ghc-byteorder/issues
Source repo head: git clone https://github.com/hvr/ghc-byteorder.git
Uploaded by HerbertValerioRiedel at 2020-05-15T17:21:30Z
Distributions LTSHaskell:4.11.0.0.10, NixOS:4.11.0.0.10, Stackage:4.11.0.0.10
Reverse Dependencies 4 direct, 10573 indirect [details]
Downloads 11661 total (45 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2020-05-15 [all 2 reports]