Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
tcOptsShowContext :: TcRnMessageOpts -> !Boolghc GHC.Tc.Errors.Types Whether we show the error context or not
log_show_caret :: LogFlags -> !Boolghc GHC.Utils.Logger Show caret in diagnostics
log_show_warn_groups :: LogFlags -> !Boolghc GHC.Utils.Logger Show warning flag groups
safeShowException :: Exception e => e -> IO Stringghc GHC.Utils.Panic Show an exception which can possibly throw other exceptions. Used when displaying exception thrown within TH code.
-
Tools for working with derived `Show` instances and generic inspection of values. We provide a library and an executable for working with derived Show instances. By using the library, we can parse derived Show instances into a generic data structure. The ppsh tool uses the library to produce human-readable versions of Show instances, which can be quite handy for debugging Haskell programs. We can also render complex generic values into an interactive Html page, for easier examination.
ppShow :: Show a => a -> Stringpretty-show Text.Show.Pretty Convert a generic value into a pretty String, if possible.
ppShowList :: (Foldable f, Show a) => f a -> Stringpretty-show Text.Show.Pretty Pretty print something that may be converted to a list as a list. Each entry is on a separate line, which means that we don't do clever pretty printing, and so this works well for large strucutures.
goldenPrettyShowInstance :: Show a => FilePath -> a -> GoldenTest Stringsydtest Test.Syd Test that the show instance has not changed for the given value, via ppShow.
goldenShowInstance :: Show a => FilePath -> a -> GoldenTest Stringsydtest Test.Syd Test that the show instance has not changed for the given value.
ppShow :: Show a => a -> Stringsydtest Test.Syd Convert a generic value into a pretty String, if possible.