ocramz / xeno

Fast Haskell XML parser
Other
120 stars 33 forks source link

Prepare for MonadFail/ST instance removal from base #60

Closed TeofilC closed 2 years ago

TeofilC commented 2 years ago

CLC has approved the proposal to remove the ST instance of MonadFail from base (https://github.com/haskell/core-libraries-committee/issues/33).

The implementation of the proposal is delayed to GHC 9.4, but one can already future-proof code to be compliant with this change in a backwards-compatible way. No CPP required.

Migration guide and more info: https://github.com/haskell/core-libraries-committee/blob/main/guides/no-monadfail-st-inst.md

parsonsmatt commented 2 years ago

Now that GHC 9.4 is released, I can confirm that xeno is broken for it. This PR does fix it.