-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:set -interactive-print=f
does not work
#1356
Comments
IHaskell is not GHCi, it is another interface that uses the same underlying GHC API. I think the reason this does not work is that GHCi implements support for reconfigurable pretty-printing explicitly, see https://gitlab.haskell.org/ghc/ghc/-/blob/620ee7edc931dc5273dd04880059cc9ec8d41528/ghc/GHCi/UI.hs#L1036-1049, and we do not (currently). |
So it is not enough to use |
Yes, that's the current state AFAICT. |
I see. Thanks! (I'll leave this issue open since I still want this feature.) |
I have read the code but cannot figure out why
:set -interactive-print=f
doesn't work. Could anyone please give me a pointer?It works in GHCi:
But doesn't work in iHaskell. The "aha!" part does not get printed.
Context: I'm trying to use
pretty-simple
as described here: https://hackage.haskell.org/package/pretty-simple#pretty-print-all-ghci-outputThe text was updated successfully, but these errors were encountered: