1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 131201 2015-01-06 19:52:47Z cal@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup haskell 1.0 |
---|
6 | |
---|
7 | haskell.setup scientific 0.3.3.5 |
---|
8 | checksums rmd160 421d75491a252573079947c3578f66b73416dc0b \ |
---|
9 | sha256 3d07689a786c20285982f463b61c848d4842159c46fa38868b1a896597a2f2cc |
---|
10 | |
---|
11 | maintainers cal openmaintainer |
---|
12 | platforms darwin |
---|
13 | license BSD |
---|
14 | |
---|
15 | description Provides a space efficient and arbitrary precision scientific number type |
---|
16 | long_description \ |
---|
17 | Scientific numbers are represented using scientific notation. \ |
---|
18 | It uses a coefficient c :: Integer and a base-10 exponent e :: Int \ |
---|
19 | A scientific number corresponds to the Fractional number: \ |
---|
20 | fromInteger c * 10 ^^ e. \ |
---|
21 | \ |
---|
22 | The main application of Scientific is to be used as the target of \ |
---|
23 | parsing arbitrary precision numbers coming from an untrusted source. \ |
---|
24 | For benefits of this type over the Rational type, see the documentation. |
---|
25 | |
---|
26 | depends_lib-append port:ghc-bootstrap \ |
---|
27 | port:hs-hashable \ |
---|
28 | port:hs-text |
---|