Closed jwaldmann closed 7 years ago
you can do this:
ghci -interactive-print=Text.Pretty.Simple.pPrint
then every output in a ghci session will be pretty-printed, see https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci.html#using-a-custom-interactive-printing-function
(when I read the original accouncement, I thought this was the main purpose, but I do not find this mentioned in the docs)
Thanks for letting me know about this feature! This is pretty handy. I added a note to the README:
https://github.com/cdepillabout/pretty-simple#pretty-print-all-ghci-output
you can do this:
then every output in a ghci session will be pretty-printed, see https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci.html#using-a-custom-interactive-printing-function
(when I read the original accouncement, I thought this was the main purpose, but I do not find this mentioned in the docs)