Copyright | (C) 2014-2017 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Provisional |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
TextShow.Data.Text
Contents
Description
Defines TextShow
instances for Text
types, as well as other miscellaneous
data types from the text
package.
Note that this module deliberately does not define a TextShow
instance for
the I16
data type from Data.Text.Foreign
, as that module is not available
on certain widely used variants of GHC (e.g., reflex-platform
). See #40
for more details. If this is a problem for you, please file an issue.
Since: 2
Orphan instances
TextShow Text Source # | Since: 2 |
Methods showbPrec :: Int -> Text -> Builder Source # showb :: Text -> Builder Source # showbList :: [Text] -> Builder Source # showtPrec :: Int -> Text -> Text Source # showt :: Text -> Text Source # showtList :: [Text] -> Text Source # showtlPrec :: Int -> Text -> Text0 Source # showtl :: Text -> Text0 Source # showtlList :: [Text] -> Text0 Source # | |
TextShow UnicodeException Source # | Since: 2 |
Methods showbPrec :: Int -> UnicodeException -> Builder Source # showb :: UnicodeException -> Builder Source # showbList :: [UnicodeException] -> Builder Source # showtPrec :: Int -> UnicodeException -> Text Source # showt :: UnicodeException -> Text Source # showtList :: [UnicodeException] -> Text Source # showtlPrec :: Int -> UnicodeException -> Text Source # showtl :: UnicodeException -> Text Source # showtlList :: [UnicodeException] -> Text Source # | |
TextShow Text Source # | Since: 2 |
Methods showbPrec :: Int -> Text -> Builder Source # showb :: Text -> Builder Source # showbList :: [Text] -> Builder Source # showtPrec :: Int -> Text -> Text0 Source # showt :: Text -> Text0 Source # showtList :: [Text] -> Text0 Source # showtlPrec :: Int -> Text -> Text Source # showtl :: Text -> Text Source # showtlList :: [Text] -> Text Source # | |
TextShow Builder Source # | Since: 2 |
Methods showbPrec :: Int -> Builder -> Builder Source # showb :: Builder -> Builder Source # showbList :: [Builder] -> Builder Source # showtPrec :: Int -> Builder -> Text Source # showt :: Builder -> Text Source # showtList :: [Builder] -> Text Source # showtlPrec :: Int -> Builder -> Text Source # showtl :: Builder -> Text Source # showtlList :: [Builder] -> Text Source # | |
TextShow Decoding Source # | Only available with Since: 2 |
Methods showbPrec :: Int -> Decoding -> Builder Source # showb :: Decoding -> Builder Source # showbList :: [Decoding] -> Builder Source # showtPrec :: Int -> Decoding -> Text Source # showt :: Decoding -> Text Source # showtList :: [Decoding] -> Text Source # showtlPrec :: Int -> Decoding -> Text Source # showtl :: Decoding -> Text Source # showtlList :: [Decoding] -> Text Source # | |
TextShow Size Source # | Only available with Since: 2 |
Methods showbPrec :: Int -> Size -> Builder Source # showb :: Size -> Builder Source # showbList :: [Size] -> Builder Source # showtPrec :: Int -> Size -> Text Source # showt :: Size -> Text Source # showtList :: [Size] -> Text Source # showtlPrec :: Int -> Size -> Text Source # showtl :: Size -> Text Source # showtlList :: [Size] -> Text Source # |