You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2023. It is now read-only.
In base-4.17, the MonadFail instance for ST was removed:
$ cabal buildBuild profile: -w ghc-9.4.4 -O1In order, the following will be built (use -v for more details): - union-find-0.2 (lib:union-find) (first run)...src/Data/UnionFind/ST.hs:133:5: error: • No instance for (MonadFail (ST s)) arising from a do statement with the failable pattern ‘Info info_ref1’ • In a stmt of a 'do' block: Info info_ref1 <- readSTRef link_ref1 In the second argument of ‘($)’, namely ‘do Info info_ref1 <- readSTRef link_ref1 Info info_ref2 <- readSTRef link_ref2 MkInfo w1 d1 <- readSTRef info_ref1 MkInfo w2 d2 <- readSTRef info_ref2 ....’ In a stmt of a 'do' block: when (point1 /= point2) $ do Info info_ref1 <- readSTRef link_ref1 Info info_ref2 <- readSTRef link_ref2 MkInfo w1 d1 <- readSTRef info_ref1 MkInfo w2 d2 <- readSTRef info_ref2 ....
src/Ignore/Types.hs:30:10: error:
• No instance for (Semigroup FileIgnoredChecker)
arising from the superclasses of an instance declaration
• In the instance declaration for ‘Monoid FileIgnoredChecker’
|
30 | instance Monoid FileIgnoredChecker where
| ^^^^^^^^^^^^^^^^^^^^^^^^^
In
base-4.17
, theMonadFail
instance forST
was removed:Lifted from:
In my role as Hackage Trustee, I revised
base
to<4.17
: https://hackage.haskell.org/package/union-find-0.2/revisions/The text was updated successfully, but these errors were encountered: