[Haskell-cafe] customize ghci error msg

Johannes Waldmann johannes.waldmann at htwk-leipzig.de
Thu May 4 11:02:35 UTC 2017


Dear Cafe.

I have a "stack repl" which loads 841 modules in ghci.

I have to do  :set prompt "> "
because the default prompt shows all modules loaded,
and I never see a value or an error message
without an enourmous amount of scrolling.

But, even with this prompt -
when I get some error on ":r",
ghci says "... Failed, modules loaded: ..."
and again I have to scroll back five miles.

How could I change this message?

- Thanks, J.W.

https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci.html#ghci-cmd-:set%20prompt


More information about the Haskell-Cafe mailing list