Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
traceBotModelShow :: Show model => BotApp model action -> BotApp model actiontelegram-bot-simple Telegram.Bot.Simple.Debug Trace (debug print) bot model using Show instance.
traceTelegramUpdatesShow :: BotApp model action -> BotApp model actiontelegram-bot-simple Telegram.Bot.Simple.Debug Trace (debug print) every update using Show instance.
newtype
ReadShowEncoding opt atext-encode Text.Encode.PostgresqlSimple No documentation available.
ReadShowEncoding :: a -> ReadShowEncoding opt atext-encode Text.Encode.PostgresqlSimple No documentation available.
-
Additional instances for text-show text-show-instances is a supplemental library to text-show that provides additional Show instances for data types in common Haskell libraries and GHC dependencies that are not encompassed by text-show. Currently, text-show-instances covers these libraries:
aeson
bifunctors
binary
containers
directory
ghc-boot-th
haskeline
hpc
nonempty-vector
old-locale
old-time
pretty
random
scientific
tagged
template-haskell
terminfo
text-short
time
transformers
unix
unordered-containers
uuid-types
vector
Win32
xhtml
-
text-show-instances TextShow.Instances Conversion of values to Text. Because there are both strict and lazy Text variants, the TextShow class deliberately avoids using Text in its functions. Instead, showbPrec, showb, and showbList all return Builder, an efficient intermediate form that can be converted to either kind of Text. Builder is a Monoid, so it is useful to use the mappend (or <>) function to combine Builders when creating TextShow instances. As an example:
import Data.Semigroup import TextShow data Example = Example Int Int instance TextShow Example where showb (Example i1 i2) = showb i1 <> showbSpace <> showb i2
If you do not want to create TextShow instances manually, you can alternatively use the TextShow.TH module to automatically generate default TextShow instances using Template Haskell, or the TextShow.Generic module to quickly define TextShow instances using GHC.Generics. Since: 2 liftShowbList :: TextShow1 f => (Int -> a -> Builder) -> ([a] -> Builder) -> [f a] -> Buildertext-show-instances TextShow.Instances showbList function for an application of the type constructor based on showbPrec and showbList functions for the argument type. The default implementation using standard list syntax is correct for most types. Since: 3
-
text-show-instances TextShow.Instances showbList function for an application of the type constructor based on showbPrec and showbList functions for the argument types. The default implementation using standard list syntax is correct for most types. Since: 3
liftShowbPrec :: TextShow1 f => (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> f a -> Buildertext-show-instances TextShow.Instances showbPrec function for an application of the type constructor based on showbPrec and showbList functions for the argument type. Since: 3
-
text-show-instances TextShow.Instances showbPrec function for an application of the type constructor based on showbPrec and showbList functions for the argument types. Since: 3