Changelog for pretty-simple-2.2.0.0
2.2.0.0
- Fixed a bug with a missing space after strings. Thanks again Andrew!
- Add a command line flag
--colorto be able to set whether to use colors for a dark background (--color dark-bg), a light background (--color light-bg), or no color (--color no-color). This is from great work by Andrew! - Made parsing/printing lazy - pretty-printing will now output strings continuously as they're read, handling potentially infinite input.
2.1.0.1
2.1.0.0
2.0.2.1
-
Add a small command-line program that will pretty print anything from stdin called
pretty-print. It can be installed to~/.local/binif you enable the flagbuildexelike so:$ stack install pretty-simple-2.0.2.1 --flag pretty-simple:buildexeWhen you run it, you can paste something you want formatted on stdin, then press Ctrl-D. It will print the formatted version on stdout:
$ pretty-simple [(Just 3, Just 4)] ^D [ ( Just 3 , Just 4 ) ]
2.0.2.0
- Fix a problem with the pTraceShow functions not working correctly.
2.0.1.0
- Added the
Debug.Pretty.Simplethat exports functions that work likeDebug.Trace.