The latest version of text-show is 3.10.5-2.
text-show
Version 3.9.6 revision 0 uploaded by ryanglscott.
Package meta
- Synopsis
- Efficient conversion of values into Text
- Description
text-show
offers a replacement for theShow
typeclass intended for use withText
instead ofString
s. This package was created in the spirit ofbytestring-show
.At the moment,
text-show
provides instances for most data types in thearray
,base
,bytestring
, andtext
packages. Therefore, much of the source code fortext-show
consists of borrowed code from those packages in order to ensure that the behaviors ofShow
andTextShow
coincide.For most uses, simply importing TextShow will suffice:
module Main where import TextShow main :: IO () main = printT (Just "Hello, World!")
See also the naming conventions page.
Support for automatically deriving
TextShow
instances can be found in the TextShow.TH and TextShow.Generic modules.- Author
- Ryan Scott
- Bug reports
- https://github.com/RyanGlScott/text-show/issues
- Category
- Text
- Copyright
- (C) 2014-2017 Ryan Scott
- Homepage
- https://github.com/RyanGlScott/text-show
- Maintainer
- Ryan Scott <ryan.gl.scott@gmail.com>
- Package URL
- n/a
- Stability
- Provisional