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.
liftShowtPrec :: TextShow1 f => (Int -> a -> Text) -> ([a] -> Text) -> Int -> f a -> Texttext-show TextShow showtPrec function for an application of the type constructor based on showtPrec and showtList functions for the argument type. The current implementation is based on liftShowbPrec internally. Since: 3.4
-
text-show TextShow showtPrec function for an application of the type constructor based on showtPrec and showtList functions for the argument type. The current implementation is based on liftShowbPrec2 internally. Since: 3.4
liftShowtlPrec :: TextShow1 f => (Int -> a -> Text) -> ([a] -> Text) -> Int -> f a -> Texttext-show TextShow showtlPrec function for an application of the type constructor based on showtlPrec and showtlList functions for the argument type. The current implementation is based on liftShowbPrec internally. Since: 3.4
-
text-show TextShow showtlPrec function for an application of the type constructor based on showtlPrec and showtlList functions for the argument type. The current implementation is based on liftShowbPrec2 internally. Since: 3.4
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