-
Notifications
You must be signed in to change notification settings - Fork 165
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
Handle pretty and base <> collision #227
Conversation
(Someone might want to add 8.4 to Edit: Apparently there's no 8.4 version on Travis yet. |
Mmh, after pulling your patches, the small test suites fail. (See travis output.) |
LOL, :(. Enabling CPP removes |
Hmmmmmmm, the new attempt doesn't work either, because of this: https://www.reddit.com/r/haskell/comments/3ryf2p/how_can_you_use_a_custom_prelude_with_ghci/. (The doctests dies when starting GHCI.) |
The third attempt seems to work! |
Is this change available in Hackage? I'm hitting this error (using 8.4.2). |
No it's not (the latest Hackage release seems to be from 2016), as a temporary workaround you can install BNFC from the Git repo instead. |
Yep.
I just used ghc-8.2.2 to install it. Thanks
…On Sat, 9 Jun 2018 at 12:06, Andreas Lööw ***@***.***> wrote:
No it's not (the latest Hackage release seems to be from 2016), as a
temporary workaround you can install BNFC from the Git repo instead.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#227 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABS_IxYpGueYo6nD-dIhORSTtunYYEqbks5t654sgaJpZM4S7PIB>
.
|
This makes it easier to load the .hs source files into ghci. Some LANGUAGE pragmas may be missing still. Now GHC 7.10 may warn that Prelude does not export (<>), but this is a minor wart.
Because
<>
was added to Prelude in base 4.11.0.0 one gets the following error when trying to build BNFC with e.g. GHC 8.4.1:I'm not sure about the proper way of fixing this, but this PR at least builds on GHC 8.4.1. See also haskell/pretty#30.