haskell / fgl

A Functional Graph Library for Haskell
http://hackage.haskell.org/package/fgl
Other
185 stars 54 forks source link

GHC 9.4 compatibility #103

Closed athas closed 2 years ago

athas commented 2 years ago

fgl fails to compile with GHC 9.4 because ST is no longer an instance of MonadFail: https://github.com/haskell/core-libraries-committee/issues/33

I am trying to work out the best way to fix it. One solution may be to drop the requirement that a GraphM monad must also be a MonadFail.