summaryrefslogtreecommitdiff
path: root/dev-haskell/text-show/metadata.xml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/text-show/metadata.xml
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/text-show/metadata.xml')
-rw-r--r--dev-haskell/text-show/metadata.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-haskell/text-show/metadata.xml b/dev-haskell/text-show/metadata.xml
new file mode 100644
index 000000000000..a6729c09cb4b
--- /dev/null
+++ b/dev-haskell/text-show/metadata.xml
@@ -0,0 +1,47 @@
+<?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>
+ @text-show@ offers a replacement for the @Show@ typeclass intended
+ for use with @Text@ instead of @String@s. This package was created
+ in the spirit of
+ @&lt;http://hackage.haskell.org/package/bytestring-show bytestring-show&gt;@.
+
+ At the moment, @text-show@ provides instances for most data
+ types in the @&lt;http://hackage.haskell.org/package/array array&gt;@,
+ @&lt;http://hackage.haskell.org/package/base base&gt;@,
+ @&lt;http://hackage.haskell.org/package/bytestring bytestring&gt;@, and
+ @&lt;http://hackage.haskell.org/package/text text&gt;@ packages.
+ Therefore, much of the source code for @text-show@ consists of
+ borrowed code from those packages in order to ensure that the
+ behaviors of @Show@ and @TextShow@ coincide.
+
+ For most uses, simply importing "TextShow"
+ will suffice:
+
+ @
+ module Main where
+
+ import TextShow
+
+ main :: IO ()
+ main = printT (Just \"Hello, World!\")
+ @
+
+ If you desire it, there are also monomorphic versions of the @showb@
+ function available in the submodules of "TextShow". See the
+ &lt;https://github.com/RyanGlScott/text-show/wiki/Naming-conventions naming conventions&gt;
+ page for more information.
+
+ Support for automatically deriving @TextShow@ instances can be found
+ in the "TextShow.TH" and "TextShow.Generic" modules. If you don't
+ know which one to use, use "TextShow.TH".
+ </longdescription>
+ <upstream>
+ <remote-id type="github">RyanGlScott/text-show</remote-id>
+ </upstream>
+</pkgmetadata>