Hoogle Search
Within LTS Haskell 24.20 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showText :: Show a => a -> Texttelegram-bot-api Telegram.Bot.API.Internal.Utils No documentation available.
showb :: TextShow a => a -> Buildertext-show-instances TextShow.Instances Converts a value to a strict Text. If you hand-define this, it should satisfy:
showb = showbPrec 0
Since: 2showbList :: TextShow a => [a] -> Buildertext-show-instances TextShow.Instances Converts a list of values to a Builder. By default, this is defined as 'showbList = showbListWith showb, but it can be overridden to allow for specialized displaying of lists (e.g., lists of Chars). Since: 2
showbPrec :: TextShow a => Int -> a -> Buildertext-show-instances TextShow.Instances Convert a value to a Builder with the given predence. Since: 2
showt :: TextShow a => a -> Texttext-show-instances TextShow.Instances Converts a value to a strict Text. This can be overridden for efficiency, but it should satisfy:
showt = showtPrec 0 showt = toStrict . showtl
The first equation is the default definition of showt. Since: 3showtList :: TextShow a => [a] -> Texttext-show-instances TextShow.Instances Converts a list of values to a strict Text. This can be overridden for efficiency, but it should satisfy:
showtList = toStrict . showtlList
Since: 3showtPrec :: TextShow a => Int -> a -> Texttext-show-instances TextShow.Instances Converts a value to a strict Text with the given precedence. This can be overridden for efficiency, but it should satisfy:
showtPrec p = toStrict . showtlPrec p
Since: 3showtl :: TextShow a => a -> Texttext-show-instances TextShow.Instances Converts a value to a lazy Text. This can be overridden for efficiency, but it should satisfy:
showtl = showtlPrec 0 showtl = toLazyText . showb
The first equation is the default definition of showtl. Since: 3showtlList :: TextShow a => [a] -> Texttext-show-instances TextShow.Instances Converts a list of values to a lazy Text. This can be overridden for efficiency, but it should satisfy:
showtlList = toLazyText . showbList
Since: 3showtlPrec :: TextShow a => Int -> a -> Texttext-show-instances TextShow.Instances Converts a value to a lazy Text with the given precedence. This can be overridden for efficiency, but it should satisfy:
showtlPrec p = toLazyText . showbPrec p
Since: 3