quchen / prettyprinter

A modern, extensible and well-documented prettyprinter.
BSD 2-Clause "Simplified" License
293 stars 34 forks source link

Incorrect bounds for `prettyprinter-convert-ansi-wl-pprint` #254

Open jasagredo opened 3 months ago

jasagredo commented 3 months ago

For 1.1.2, the bounds are declared as:

    build-depends:
          base                        >= 4.5 && < 5
        , text                        >= 1.2
        , prettyprinter               >= 1.7.0
        , prettyprinter-ansi-terminal >= 1.1.1
        , ansi-wl-pprint              >= 0.6.8
        , ansi-terminal

However ansi-wl-pprint 1.0.2 does not have a public Text.PrettyPrint.ANSI.Leijen.Internal module, so it cannot be used.

It would be nice to make a revision as follows:

-        , ansi-wl-pprint              >= 0.6.8
+        , ansi-wl-pprint              >= 0.6.8 && <1