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

Diff-1.0.1 fails to build with GHC 8.2 #16

Closed
andreasabel opened this issue Nov 6, 2024 · 0 comments · Fixed by #17
Closed

Diff-1.0.1 fails to build with GHC 8.2 #16

andreasabel opened this issue Nov 6, 2024 · 0 comments · Fixed by #17

Comments

@andreasabel
Copy link
Contributor

https://github.com/BNFC/bnfc/actions/runs/11686979499/job/32544018443?pr=485#step:17:70

Building library for Diff-1.0.1...
...
src/Data/Algorithm/DiffContext.hs:137:17: error:
    • Variable not in scope: (<>) :: t7 -> Doc -> Doc
    • Perhaps you meant one of these:
        ‘<=’ (imported from Prelude), ‘>’ (imported from Prelude),
        ‘<’ (imported from Prelude)
      Perhaps you want to add ‘<>’ to the import list in the import of
      ‘Text.PrettyPrint’ (src/Data/Algorithm/DiffContext.hs:27:1-48).
    |
137 |     hcat . map (<> text "\n") $ (text "--- " <> old :
    |                 ^^
...

Perhaps you meant to set the lower bound of base to base >= 4.11?

Tested-With: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,

build-depends: base >= 4.8 && <= 6, array, pretty >= 1.1

Your CI looks broken, maybe that is not a good state of affairs: https://github.com/seereason/Diff/actions/runs/11652452541

@ddssff ddssff closed this as completed in fa35c38 Nov 6, 2024
@ddssff ddssff closed this as completed in #17 Nov 6, 2024
ddssff added a commit that referenced this issue Nov 6, 2024
v1.0.1.1: require base >= 4.11, CI for GHC 8.4-9.12 (fixes #16)
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

Successfully merging a pull request may close this issue.

1 participant