typesafe-endian: Enforce endianness with types

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

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
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-20T04:47:13Z
Distributions NixOS:0.1.0.1
Reverse Dependencies 3 direct, 1 indirect [details]
Downloads 1994 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]