From 76e4e653372cdd124100d1a4f78bff9cb2679304 Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 4 Sep 2015 12:58:29 +0000 Subject: src/pgf-binary: reimplementation of GF's customized Data.Binary on top of the standard binary packages This reduces the amount of duplicated code from 2400 to 490. No code from data-binary-ieee754 is duplicated. The module is called PGF.Data.Binary instead of Data.Binary. It is not in use yet. --- src/pgf-binary/pgf-binary.cabal | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/pgf-binary/pgf-binary.cabal (limited to 'src/pgf-binary/pgf-binary.cabal') diff --git a/src/pgf-binary/pgf-binary.cabal b/src/pgf-binary/pgf-binary.cabal new file mode 100644 index 000000000..3f9bea896 --- /dev/null +++ b/src/pgf-binary/pgf-binary.cabal @@ -0,0 +1,27 @@ +name: pgf-binary +version: 0.5 + +cabal-version: >= 1.10 +build-type: Simple +license: BSD3 +--license-file: LICENSE +synopsis: Custom version of the binary-0.5 package for the PGF library +homepage: http://www.grammaticalframework.org/ +--bug-reports: http://code.google.com/p/grammatical-framework/issues/list +maintainer: Thomas Hallgren +stability: provisional +category: Data, Parsing +tested-with: GHC==7.4.2, GHC==7.8.3 + +source-repository head + type: darcs + location: http://www.grammaticalframework.org/ + +Library + default-language: Haskell2010 + build-depends: base >= 4.3 && <5, binary, data-binary-ieee754, + containers, array, bytestring + exposed-modules: PGF.Data.Binary + + ghc-options: -fwarn-unused-imports -O2 + extensions: FlexibleInstances, FlexibleContexts -- cgit v1.2.3