text-show-3.10.4: Efficient conversion of values into Text
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
bytestring-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 a TextShow
instance for a
library that is not in this list, it may be covered by the
text-show-instances
library.
Modules
text-show-3.10.4
- TextShow
- Control
- Data
- TextShow.Data.Array
- TextShow.Data.Bool
- TextShow.Data.ByteString
- TextShow.Data.Char
- TextShow.Data.Complex
- TextShow.Data.Data
- TextShow.Data.Dynamic
- TextShow.Data.Either
- TextShow.Data.Fixed
- TextShow.Data.Floating
- Functor
- TextShow.Data.Integral
- TextShow.Data.List
- TextShow.Data.Maybe
- TextShow.Data.Monoid
- TextShow.Data.OldTypeable
- TextShow.Data.Ord
- TextShow.Data.Proxy
- TextShow.Data.Ratio
- TextShow.Data.Semigroup
- TextShow.Data.Text
- TextShow.Data.Tuple
- Type
- TextShow.Data.Typeable
- TextShow.Data.Version
- TextShow.Data.Void
- Debug
- Foreign
- TextShow.Functions
- GHC
- TextShow.Generic
- Numeric
- System
- TextShow.TH
- Text