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.

  1. traceBotModelShow :: Show model => BotApp model action -> BotApp model action

    telegram-bot-simple Telegram.Bot.Simple.Debug

    Trace (debug print) bot model using Show instance.

  2. traceTelegramUpdatesShow :: BotApp model action -> BotApp model action

    telegram-bot-simple Telegram.Bot.Simple.Debug

    Trace (debug print) every update using Show instance.

  3. newtype ReadShowEncoding opt a

    text-encode Text.Encode.PostgresqlSimple

    No documentation available.

  4. ReadShowEncoding :: a -> ReadShowEncoding opt a

    text-encode Text.Encode.PostgresqlSimple

    No documentation available.

  5. package text-show-instances

    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:

    One can use these instances by importing TextShow.Instances. Alternatively, there are monomorphic versions of the showb function available in the other submodules of TextShow.

  6. class TextShow a

    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

  7. liftShowbList :: TextShow1 f => (Int -> a -> Builder) -> ([a] -> Builder) -> [f a] -> Builder

    text-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

  8. liftShowbList2 :: TextShow2 f => (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [f a b] -> Builder

    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

  9. liftShowbPrec :: TextShow1 f => (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> f a -> Builder

    text-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

  10. liftShowbPrec2 :: TextShow2 f => (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> f a b -> Builder

    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

Page 395 of many | Previous | Next