Skip to content

Diff-1.0.1 fails to build with GHC 8.2 #16

Closed

Description

@andreasabel

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

Activity

  1. added a commit that references this issue on Nov 6, 2024
    fa35c38
  2. added a commit that references this issue on Nov 6, 2024
    becffd7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions