1
Fork 0

switch from pretty to prettyprinter

This commit is contained in:
Jake Wheat 2024-01-09 00:14:48 +00:00
parent 54db1de22c
commit 4a3455b67c
3 changed files with 319 additions and 293 deletions

View file

@ -54,7 +54,7 @@ A lot of care has been given to generating good parser error messages
for invalid syntax. There are a few utils below which partially help for invalid syntax. There are a few utils below which partially help
in this area. in this area.
There is a set of crafted bad expressions in ErrorMessages. hs, these There is a set of crafted bad expressions in ErrorMessages.hs, these
are used to guage the quality of the error messages and monitor are used to guage the quality of the error messages and monitor
regressions by hand. The use of <?> is limited as much as possible: regressions by hand. The use of <?> is limited as much as possible:
each instance should justify itself by improving an actual error each instance should justify itself by improving an actual error

File diff suppressed because it is too large Load diff

View file

@ -41,7 +41,8 @@ common shared-properties
build-depends: base >=4 && <5, build-depends: base >=4 && <5,
parsec >=3.1 && <3.2, parsec >=3.1 && <3.2,
mtl >=2.1 && <2.4, mtl >=2.1 && <2.4,
pretty >= 1.1 && < 1.2 prettyprinter >= 1.7 && < 1.8,
text >= 2.1 && < 2.2
ghc-options: -Wall ghc-options: -Wall