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.

  1. traceTextShow :: TextShow a => a -> b -> b

    text-show TextShow.Debug.Trace

    Like tracet, but uses showt on the argument to convert it to a Text. This makes it convenient for printing the values of interesting variables or expressions inside a function. For example here we print the value of the variables x and z:

    f x y =
    traceTextShow (x, z) $ result
    where
    z = ...
    ...
    
    Since: 2

  2. traceTextShowId :: TextShow a => a -> a

    text-show TextShow.Debug.Trace

    Like traceTextShow but returns the shown value instead of a third value. Since: 2

  3. traceTextShowM :: (TextShow a, Applicative f) => a -> f ()

    text-show TextShow.Debug.Trace

    Like tracetM, but uses showt on the argument to convert it to a Text.

    ... = do
    x <- ...
    traceTextShowM x
    y <- ...
    traceTextShowM $ x + y
    
    Since: 2

  4. genericTraceTextShow :: (Generic a, GTextShowT (Rep a ())) => a -> b -> b

    text-show TextShow.Debug.Trace.Generic

    A Generic implementation of traceTextShow. Since: 2

  5. genericTraceTextShowId :: (Generic a, GTextShowT (Rep a ())) => a -> a

    text-show TextShow.Debug.Trace.Generic

    A Generic implementation of traceTextShowId. Since: 2

  6. genericTraceTextShowM :: (Generic a, GTextShowT (Rep a ()), Applicative f) => a -> f ()

    text-show TextShow.Debug.Trace.Generic

    A Generic implementation of traceShowM. Since: 2

  7. makeTraceTextShow :: Name -> Q Exp

    text-show TextShow.Debug.Trace.TH

    Generates a lambda expression which behaves like traceTextShow (without requiring a TextShow instance). Since: 2

  8. makeTraceTextShowId :: Name -> Q Exp

    text-show TextShow.Debug.Trace.TH

    Generates a lambda expression which behaves like traceTextShowId (without requiring a TextShow instance). Since: 2

  9. makeTraceTextShowM :: Name -> Q Exp

    text-show TextShow.Debug.Trace.TH

    Generates a lambda expression which behaves like traceTextShowM (without requiring a TextShow instance). Since: 2

  10. class GTextShowB a

    text-show TextShow.Generic

    Class of generic representation types that can be converted to a Builder. Since: 3.10

Page 264 of many | Previous | Next