Skip to content

Conversation

georgefst
Copy link
Contributor

@georgefst georgefst commented Aug 5, 2023

Strictly speaking, all previous versions of this package should be given Hackage revisions to set an upper bound of ansi-wl-pprint < 1.

Note that this is untested, as I couldn't get the test suite to work on my machine. Even on master with cabal configure --constraint='ansi-wl-pprint<1'.

We replace the `text` function in most places in favour of just using the already-enabled `OverloadedStrings`, or with `pretty` when not using string literals.

Where the old instance `Pretty a => Pretty (Maybe a)` was relied upon, we replace `pretty` with `maybe mempty id` (then apply an HLint-suggested simplification), which is what we'd get from inlining a few definitions with the old library.
@jfischoff
Copy link
Owner

This looks good but the CI is broken. I'll just accept for now.

@jfischoff jfischoff merged commit 7f2467a into jfischoff:master Aug 8, 2023
@Bodigrim
Copy link

Bodigrim commented May 6, 2024

As a Hackage trustee I revised the latest release: https://hackage.haskell.org/package/tmp-postgres-1.34.1.0/revisions/

A new release would be much appreciated.

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 this pull request may close these issues.

3 participants