paul-rouse / mysql-simple

A mid-level client library for the MySQL database, intended to be fast and easy to use.
Other
91 stars 35 forks source link

Support GHC-9 via `blaze-textual` shim #51

Closed parsonsmatt closed 3 years ago

parsonsmatt commented 3 years ago

blaze-textual does not build with GHC 9. A PR is open to make that happen: https://github.com/bos/blaze-textual/pull/14

This PR provides a shim module for mysql-simple that is activated when GHC >= 9.0 is detected, but depends on blaze-textual for versions of GHC prior to 9.

paul-rouse commented 3 years ago

Thanks, that's very helpful! LGTM, but I will check it slightly better than I'm able to this minute.

paul-rouse commented 3 years ago

Thanks again @parsonsmatt - I've just uploaded the new version hackage.

parsonsmatt commented 3 years ago

thank you 😄