src/main/Main.hs:70:14: error:
Not in scope: ‘PP.displayIO’
Module ‘Options.Applicative.Help.Pretty’ does not export ‘displayIO’.
|
70 | then PP.displayIO stdout . PP.renderPretty 1.0 80 $
| ^^^^^^^^^^^^
Move to prettyprinter library for pretty printing.
This is a potentially breaking change when one uses the *Doc family of functions (like headerDoc) from Options.Applicative. However, as versions of ansi-wl-pprint > 1.0 export a compatible Doc type, this can be mitigated by using a recent version.
One can also either import directly from Options.Applicative.Help or from the Prettyprinter module of prettyprinter.
There are various errors, such as:
From the
optparse-applicative
changelog:Full build log: https://gist.github.com/hololeap/5df44b5ce636deade4e5985033296786