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.
viaShow :: Show a => a -> Doc annprettyprinter Prettyprinter.Internal Convenience function to convert a Showable value to a Doc. If the String does not contain newlines, consider using the more performant unsafeViaShow.
renderShowS :: SimpleDocStream ann -> ShowSprettyprinter Prettyprinter.Render.String Render a SimpleDocStream to a ShowS, useful to write Show instances based on the prettyprinter.
instance Show MyType where showsPrec _ = renderShowS . layoutPretty defaultLayoutOptions . pretty
fromShow :: Show a => a -> Builderblaze-builder Blaze.ByteString.Builder.Char.Utf8 O(n). Serialize a value by Showing it and UTF-8 encoding the resulting String.
fromShow :: Show a => a -> Builderblaze-builder Blaze.ByteString.Builder.Char8 O(n). Serialize a value by Showing it and serializing the lower 8-bits of the resulting string.
fromHtmlEscapedShow :: Show a => a -> Builderblaze-builder Blaze.ByteString.Builder.Html.Utf8 O(n). Serialize a value by Showing it and then, HTML escaping and UTF-8 encoding the resulting String.
gshow :: Data a => a -> Stringsyb Data.Generics.Text Generic show: an alternative to "deriving Show"
gshows :: Data a => a -> ShowSsyb Data.Generics.Text Generic shows
hShowCursor :: Handle -> IO ()ansi-terminal System.Console.ANSI No documentation available.
traceShowId :: Show a => a -> abase-compat Debug.Trace.Compat Like traceShow but returns the shown value instead of a third value.
>>> traceShowId (1+2+3, "hello" ++ "world") (6,"helloworld") (6,"helloworld")
traceShowM :: (Show a, Applicative f) => a -> f ()base-compat Debug.Trace.Compat Like traceM, but uses show on the argument to convert it to a String.
>>> :{ do x <- Just 3 traceShowM x y <- pure 12 traceShowM y pure (x*2 + y) :} 3 12 Just 18