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.
traceTextShow :: TextShow a => a -> b -> btext-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: 2traceTextShowId :: TextShow a => a -> atext-show TextShow.Debug.Trace Like traceTextShow but returns the shown value instead of a third value. Since: 2
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: 2genericTraceTextShow :: (Generic a, GTextShowT (Rep a ())) => a -> b -> btext-show TextShow.Debug.Trace.Generic A Generic implementation of traceTextShow. Since: 2
genericTraceTextShowId :: (Generic a, GTextShowT (Rep a ())) => a -> atext-show TextShow.Debug.Trace.Generic A Generic implementation of traceTextShowId. Since: 2
genericTraceTextShowM :: (Generic a, GTextShowT (Rep a ()), Applicative f) => a -> f ()text-show TextShow.Debug.Trace.Generic A Generic implementation of traceShowM. Since: 2
makeTraceTextShow :: Name -> Q Exptext-show TextShow.Debug.Trace.TH Generates a lambda expression which behaves like traceTextShow (without requiring a TextShow instance). Since: 2
makeTraceTextShowId :: Name -> Q Exptext-show TextShow.Debug.Trace.TH Generates a lambda expression which behaves like traceTextShowId (without requiring a TextShow instance). Since: 2
makeTraceTextShowM :: Name -> Q Exptext-show TextShow.Debug.Trace.TH Generates a lambda expression which behaves like traceTextShowM (without requiring a TextShow instance). Since: 2
-
text-show TextShow.Generic Class of generic representation types that can be converted to a Builder. Since: 3.10