summaryrefslogtreecommitdiff
path: root/dev-haskell/scientific/metadata.xml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/scientific/metadata.xml')
-rw-r--r--dev-haskell/scientific/metadata.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-haskell/scientific/metadata.xml b/dev-haskell/scientific/metadata.xml
new file mode 100644
index 000000000000..c0f46257525f
--- /dev/null
+++ b/dev-haskell/scientific/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ A @Scientific@ number is an arbitrary-precision floating-point number
+ represented using scientific notation.
+
+ A scientific number with 'coefficient' @c@ and
+ 'base10Exponent' @e@ corresponds to the
+ 'Fractional' number: @'fromInteger' c * 10 '^^' e@
+
+ Its primary use-case is to serve as the target of
+ parsing floating point numbers. Since the textual
+ representation of floating point numbers use
+ scientific notation they can be efficiently
+ parsed to a @Scientific@ number.
+ </longdescription>
+ <use>
+ <flag name="bytestring-builder">Provide the
+ Data.ByteString.Builder.Scientific module (requires bytestring &gt;= 0.10).</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">basvandijk/scientific</remote-id>
+ </upstream>
+</pkgmetadata>