Skip to content
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

0.8.3.4 fails to build with ghc-8.2 due to missing <> #16

Open
juhp opened this issue Sep 17, 2021 · 0 comments
Open

0.8.3.4 fails to build with ghc-8.2 due to missing <> #16

juhp opened this issue Sep 17, 2021 · 0 comments

Comments

@juhp
Copy link

juhp commented Sep 17, 2021

http-common-0.8.3.4 fails to build with ghc-8.2.2:

lib/Network/Http/Internal.hs:291:13: error:
Error:     • Variable not in scope: (<>) :: Builder -> Builder -> t7
    • Perhaps you meant one of these:
        ‘<’ (imported from Prelude), ‘<$>’ (imported from Prelude),
        ‘*>’ (imported from Prelude)
    |
291 |             <> dashdash
    |             ^^

lib/Network/Http/Internal.hs:292:13: error:
Error:     • Variable not in scope: (<>) :: t7 -> Builder -> t6
    • Perhaps you meant one of these:
        ‘<’ (imported from Prelude), ‘<$>’ (imported from Prelude),
        ‘*>’ (imported from Prelude)
    |
292 |             <> Builder.copyByteString (unBoundary boundary)
    |             ^^
: 
:

I appreciate you might not want to support this library any longer for ghc <= 8.2,
but then it would be good to revise the .cabal file to prevent
this version (and later) from being selected on 8.2.
I think the easiest way to do that would be to add a lower bound for base.
Happy to open a PR to do that.

juhp added a commit to juhp/fbrnch that referenced this issue Sep 17, 2021
juhp added a commit to juhp/pkgtreediff that referenced this issue Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant