Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module Data.Text
- module Data.Text.IO
- module Data.Text.Encoding
- module Data.Text.Format
- module Data.Text.Buildable
- show :: TextShow a => a -> Text
- show' :: Show a => a -> Text
- format :: Params ps => Format -> ps -> Text
- toStrict :: Text -> Text
- fromStrict :: Text -> Text
Documentation
module Data.Text
module Data.Text.IO
module Data.Text.Encoding
module Data.Text.Format
module Data.Text.Buildable
show :: TextShow a => a -> Text Source #
A fast variant of show
for Text
that only works for some types. If you want more instances, import text-show-instances or use show'
if the type is your own and you only have a Show
instance defined.