cdepillabout / pretty-simple

pretty-printer for Haskell data types that have a Show instance
https://hackage.haskell.org/package/pretty-simple
BSD 3-Clause "New" or "Revised" License
243 stars 29 forks source link

Add `cabal repl` instructions to README #96

Closed georgefst closed 3 years ago

georgefst commented 3 years ago

Closes #92.

I'm fairly sure -b is a safer option than --package. In fact, I'm not quite sure what --package even does - I think it's a legacy v1- thing. -b will consult the solver, build a version of pretty-simple compatible with the current environment, add it to the global cache, and bring it in to scope in GHCI.