text-show
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 @<http://hackage.haskell.org/package/bytestring-show bytestring-show>@. At the moment, @text-show@ provides instances for most data types in the @<http://hackage.haskell.org/package/array array>@, @<http://hackage.haskell.org/package/base base>@, @<http://hackage.haskell.org/package/bytestring bytestring>@, and @<http://hackage.haskell.org/package/text text>@ 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!\") @ See also the <https://github.com/RyanGlScott/text-show/wiki/Naming-conventions naming conventions> page. Support for automatically deriving @TextShow@ instances can be found in the "TextShow.TH" and "TextShow.Generic" modules.
- array >= 0.3 && < 0.6
- base-compat-batteries >= 0.11 && < 0.13
- bifunctors >= 5.1 && < 6
- bytestring >= 0.9 && < 0.12
- bytestring-builder
- containers >= 0.1 && < 0.7
- generic-deriving >= 1.14.1 && < 2
- ghc-prim
- text >= 0.11.1 && < 2.1
- th-abstraction >= 0.4 && < 0.5
- th-lift >= 0.7.6 && < 1
- base >= 4.9 && < 4.18
- template-haskell >= 2.11 && < 2.20
- ghc-boot-th >= 8.0 && < 9.5
- transformers (>= 0.2.1 && < 0.4) || (>= 0.5 && < 0.7)
- transformers-compat >= 0.5 && < 1
- integer-gmp
- 3.11.4
- 3.11.3
- 3.11.2
- 3.11.1
- 3.11
- 3.10.5
- 3.10.4
- 3.10.3
- 3.10.2
- 3.10.1
- 3.10
- 3.9.7
- 3.9.6
- 3.9.5
- 3.9.4
- 3.9.3
- 3.9.2
- 3.9.1
- 3.9
- 3.8.5
- 3.8.4
- 3.8.3
- 3.8.2
- 3.8.1
- 3.8
- 3.7.5
- 3.7.4
- 3.7.3
- 3.7.2
- 3.7.1
- 3.7
- 3.6.2
- 3.6
- 3.4.1.1
- 3.4.1
- 3.4
- 3.3
- 3.2.2
- 3.2.1
- 3.2
- 3.1
- 3.0.1
- 3
- 2.1.2
- 2.1.1
- 2.1
- 2
- 1
- 0.8.1.1
- 0.8.1
- 0.8
- 0.7.0.1
- 0.7
- 0.6.0.1
- 0.6
- 0.5
- 0.4.1
- 0.4
- 0.3.1.0
- 0.3.0.0
- 0.2.0.0
- 0.1.0.0