lib: pprint

This commit is contained in:
Simon Michael 2016-05-20 08:31:39 -07:00
parent 72bdce39b6
commit 4179a83c1d

View File

@ -35,6 +35,9 @@ ppShow :: Show a => a -> String
ppShow = show
#endif
pprint :: Show a => a -> IO ()
pprint = putStrLn . ppShow
-- | Trace (print on stdout at runtime) a showable value.
-- (for easily tracing in the middle of a complex expression)