text-all-0.1.0.0: Everything Data.Text related in one package

Safe HaskellNone
LanguageHaskell2010

Data.Text.All

Synopsis

Documentation

module Data.Text

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.

show' :: Show a => a -> Text Source #

Like show, but works for anything that has a Show instance.

format :: Params ps => Format -> ps -> Text Source #

A formatting function that mimics format, but works on strict Text.

toStrict :: Text -> Text #

O(n) Convert a lazy Text into a strict Text.

fromStrict :: Text -> Text #

O(c) Convert a strict Text into a lazy Text.