packages feed

arith-encode-0.6.0: arith-encode.cabal

Name:                   arith-encode
Category:               Testing, Test, Serialization, Data
Version:                0.6.0
License:                BSD3
License-File:           LICENSE
Author:                 Eric McCorkle
Maintainer:             Eric McCorkle <emc2@metricspace.net>
Stability:              Pre-alpha
Synopsis:               A practical arithmetic encoding (aka Godel numbering) library.
Homepage:               https://github.com/emc2/arith-encode
Bug-Reports:            https://github.com/emc2/arith-encode/issues
Copyright:              Copyright (c) 2014 Eric McCorkle.  All rights reserved.
Description:
  A library providing tools and various schemes for encoding arbitrary datatypes
  as natural numbers.  The underlying theory is that of isomorphisms with the natural
  numbers (known as Godel numbering).  The library provides functionality for defining
  multiple such encodings for a given datatype, as well as a collection of stock
  encodings and combinators which can be used to build more complex encodings.
  .
  This has various uses, among them binary serialization/deserialization and
  enumeration testing.
  .
  This is the first release candidate for 1.0 (the initial release).
Build-type:             Simple
Cabal-version:          >= 1.16

Source-Repository head
  Type: git
  Location: git@github.com:emc2/arith-encode.git

Test-Suite UnitTest
  default-language:     Haskell2010
  type:                 exitcode-stdio-1.0
  Main-Is:              UnitTest.hs
  hs-source-dirs:       src test
  build-depends:        base >= 4.4.0 && < 5, Cabal >= 1.16.0, HUnit-Plus, containers,
                        unordered-containers, array, hashable, fgl, arithmoi
  ghc-options:          -fhpc

Library
  default-language:     Haskell2010
  hs-source-dirs:       src
  build-depends:        base >= 4.4.0 && < 5, Cabal >= 1.16.0, containers,
                        unordered-containers, array, hashable, fgl, arithmoi
  exposed-modules:      Data.ArithEncode
                        Data.ArithEncode.Basic
                        Data.ArithEncode.Util