typesafe-endian: Enforce endianness with types

[ bsd3, data, library ] [ Propose Tags ]

This package provides newtype wrappers for separating data with specified endianness from other data of the same type with normal, system-specific endianness. Since these wrappers are newtypes, no runtime overhead is incurred. Currently the underlying EndianSensitive typeclass its instances are taken directly from the 'data-endian' package. However, if Haskell or GHC ever gets a built-in equivalent, like as is proposed in 'http://ghc.haskell.org/trac/ghc/ticket/7902', it should be trivial to update this to use that instead.

Versions [RSS] [faq],
Dependencies base (<5) [details]
License BSD-3-Clause
Copyright 2013 John Ericson <Ericson2314@Yahoo.com>
Author John Ericson <Ericson2314@Yahoo.com>
Maintainer John Ericson <Ericson2314@Yahoo.com>
Category Data
Home page https://github.com/Ericson2314/typesafe-endian
Bug tracker https://github.com/Ericson2314/typesafe-endian/issues
Source repo head: git clone git://github.com/Ericson2314/typesafe-endian
Uploaded by JohnEricson at 2013-07-13T22:02:57Z
Distributions NixOS:
Downloads 1699 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-20 [all 7 reports]


  • Data
    • Data.Endian
      • Data.Endian.Unsafe


Maintainer's Corner

For package maintainers and hackage trustees