Hoogle Search
Within LTS Haskell 24.20 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showErrorItem :: VisualStream s => Proxy s -> ErrorItem (Token s) -> Stringshellwords Text.Megaparsec.Compat Pretty-print an ErrorItem.
showTokens :: VisualStream s => Proxy s -> NonEmpty (Token s) -> Stringshellwords Text.Megaparsec.Compat Pretty-print non-empty stream of tokens. This function is also used to print single tokens (represented as singleton lists).
-
Clean up the formatting of 'show' output Clean up the formatting of show output
shower :: Show a => a -> Stringshower Shower A drop-in replacement for show that has nice layout. NB: does not handle infinite data structures at the moment.
showerString :: String -> Either String Stringshower Shower Parse and pretty-print show output or JSON.
showerAtom :: Shower a => String -> ashower Shower.Class Variable names, numeric literals, and so on.
showerCharLit :: Shower a => String -> ashower Shower.Class A character literal, '('.
showerList :: Shower a => [ShowerComma a] -> ashower Shower.Class A list, [1, 2, 3].
showerRecord :: Shower a => [ShowerComma (a, ShowerFieldSep, a)] -> ashower Shower.Class A record, { x = 24, y = 42 } or { "a": null, "b": 13 }.
showerSpace :: Shower a => [a] -> ashower Shower.Class Whitespace-separated elements.