Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showt :: TextShow a => a -> Texttext-show TextShow 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: 3-
text-show TextShow Construct a strict Text containing a comma followed by a space. Since: 3.6
showtList :: TextShow a => [a] -> Texttext-show TextShow Converts a list of values to a strict Text. This can be overridden for efficiency, but it should satisfy:
showtList = toStrict . showtlList
Since: 3showtParen :: Bool -> Text -> Texttext-show TextShow Surrounds strict Text output with parentheses if the Bool parameter is True. Since: 3.4
showtPrec :: TextShow a => Int -> a -> Texttext-show TextShow 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: 3showtPrecToShowbPrec :: (Int -> a -> Text) -> Int -> a -> Buildertext-show TextShow Convert a precedence-aware, strict Text-based show function to a Builder-based one. Since: 3.4
-
text-show TextShow Construct a strict Text containing a single space character. Since: 3.4
showtToShowb :: (a -> Text) -> a -> Buildertext-show TextShow Convert a strict Text-based show function to a Builder-based one. Since: 3.4
showtl :: TextShow a => a -> Texttext-show TextShow 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: 3-
text-show TextShow Construct a lazy Text containing a comma followed by a space. Since: 3.6