Closed benjaminweb closed 3 years ago
@benjaminweb I don't actually use cabal
very much, but it looks like cabal new-repl
(or, well, now just cabal repl
) has a flag --repl-options
. I imagine this is the same as stack's --ghci-options
.
I'd really appreciate if you could figure this out and send a PR updating the README. I'm sure that would be helpful for other people!
cabal new-repl --repl-options "-interactive-print=Text.Pretty.Simple.pPrint" --package pretty-simple
does work for me. Will consider a PR.
On Mon, 21 Jun 2021, at 15:27, Dennis Gosnell wrote:
@benjaminweb https://github.com/benjaminweb I don't actually use
cabal
very much, but it looks likecabal new-repl
(or, well, now justcabal repl
) has a flag--repl-options
. I imagine this is the same as stack's--ghci-options
.I'd really appreciate if you could figure this out and send a PR updating the README. I'm sure that would be helpful for other people!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cdepillabout/pretty-simple/issues/92#issuecomment-865032990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ3EVPDCBYGBJPEX6XGPTTTT445DANCNFSM47BMQ3UQ.
The README gives the instructions to pPrint GHCi output by default with stack. How is it done with cabal new-repl?