text-show
Version 3.11 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
.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.text-show
only provides instances for data types in the following packages:This policy is in place to keep
text-show
's dependencies reasonably light. If you need aTextShow
instance for a library that is not in this list, it may be covered by thetext-show-instances
library.- 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