build: Hackage-ify the cabal file.
[altfloat.git] / altfloat.cabal
blob2aec40ee7eb3c1350baabd2fd76a34bdc1514a58
1 Name:               altfloat
2 Version:            0.1
3 License:            OtherLicense
4 License-File:       LICENSE
5 Cabal-Version:      >= 1.2
6 Author:             Nick Bowler
7 Maintainer:         nbowler@draconx.ca
8 Stability:          experimental
9 Category:           Numerical
10 Build-Type:         Simple
11 Extra-Source-Files: configure.ac, configure, altfloat.buildinfo.in, cfloat.h
12 Extra-Tmp-Files:    altfloat.buildinfo, config.status config.log, config.cache
13 Synopsis:           Alternative floating point support for GHC.
14 Description:
15     A replacement for the standard Haskell floating point types and supporting
16     functions.  This library is intended to address issues such as strange or
17     or outright broken behaviour with respect to special values such as
18     infinities or NaNs, as well as fix general oddities found throughout the
19     standard library.
20     .
21     Also provided is an alternative to the standard Prelude which includes the
22     features from this library and the parts of the Prelude that do not
23     conflict.
25 Library
26     Build-Depends: base >= 4 && < 5, ghc-prim, integer
27     C-Sources: cfloat.c
28     Exposed-Modules:
29         Data.Floating.CMath,
30         Data.Floating.Classes,
31         Data.Floating.Types,
32         Data.Floating.Double,
33         Data.Floating.Prelude,
34         Data.Floating,
35         Data.Poset
36     Other-Modules:
37         Data.Floating.Instances, Data.Poset.Internal, Data.Poset.Instances