Monthly Downloads: 287
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Text    
Latest version: v3.9

text-show alternatives and similar packages

Based on the "Text" category.
Alternatively, view text-show alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of text-show or a related project?

Add another 'Text' Package



Hackage Hackage Dependencies Haskell Programming Language BSD3 License Linux build Windows build

text-show offers a replacement for the Show typeclass intended for use with Text instead of Strings. This package was created in the spirit of bytestring-show.

At the moment, text-show provides instances for most data types in the array, base, bytestring, and 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 naming conventions page.

Support for automatically deriving TextShow instances can be found in the TextShow.TH and TextShow.Generic modules.

*Note that all licence references and agreements mentioned in the text-show README section above are relevant to that project's source code only.