Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data Err
- showPretty :: Show a => a -> Text
- showPrettyJson :: Value -> Text
- printPretty :: Show a => a -> IO ()
- prettyErrs :: [Err] -> String
- message :: Text -> Err
- messageString :: String -> Err
- pretty :: Show a => a -> Err
- prettyString :: String -> Err
- hscolour' :: String -> String
Pretty printing for error messages
showPretty :: Show a => a -> Text Source #
showPrettyJson :: Value -> Text Source #
printPretty :: Show a => a -> IO () Source #
Print any Show
able type to stderr, formatted nicely and in color. Very helpful for debugging.