Gabriella439 / Haskell-Pipes-Safe-Library

Safety for the pipes ecosystem
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

Not compatible with mtl-2.3.1/transformers-0.6 #55

Closed ysangkok closed 1 year ago

ysangkok commented 1 year ago

Hi, thanks for the Pipes library.

Trying to update the dependencies of Servant to get ready for the fixed mtl-2.3.1, and I noticed that pipes-safe isn't compatible.

Given that GHC probably isn't going to ship this any time soon, there is no rush to upgrading. But since I didn't see an issue, I thought I'd create one.

Cheers.

Gabriella439 commented 1 year ago

This was fixed by https://github.com/Gabriella439/Haskell-Pipes-Safe-Library/pull/56

I also published the matching revision to Hackage so I think you should be good to go now

ysangkok commented 1 year ago

Thanks for the revision! It isn't sufficient though, since only mtl was changed, but not transformers.

The linked PR doesn't bump the transformers bound. That still makes sense, because while transformers-0.6 often implies using mtl-2.3, the reverse is not the case. I.e. mtl-2.3 still works with transformers-0.5.

GHC-9.6 does ship transformers-0.6, so it would be nice to allow this series.