aeson-better-errors
aeson-better-errors copied to clipboard
Build failures with mtl-2.3
src/Data/Aeson/BetterErrors/Internal.hs:441:3: error:
• Variable not in scope:
forM
:: [(a0, A.Value)]
-> ((Int, A.Value) -> ParseT err m a) -> ParseT err m [a]
• Perhaps you meant one of these:
‘V.forM’ (imported from Data.Vector),
‘V.forM_’ (imported from Data.Vector),
‘V.iforM’ (imported from Data.Vector)
Perhaps you want to add ‘forM’ to the import list in the import of
‘Data.Vector’ (src/Data/Aeson/BetterErrors/Internal.hs:32:1-25).
|
441 | forM xs $ \(i, x) ->
| ^^^^
src/Data/Aeson/BetterErrors/Internal.hs:450:3: error:
• Variable not in scope:
forM
:: [(Key.Key, A.Value)]
-> ((Key.Key, A.Value) -> ParseT err m a) -> ParseT err m [a]
• Perhaps you meant one of these:
‘V.forM’ (imported from Data.Vector),
‘V.forM_’ (imported from Data.Vector),
‘V.iforM’ (imported from Data.Vector)
Perhaps you want to add ‘forM’ to the import list in the import of
‘Data.Vector’ (src/Data/Aeson/BetterErrors/Internal.hs:32:1-25).
|
450 | forM xs $ \(k, x) ->
| ^^^^
All versions on Hackage are affected.
As a Hackage trustee I have created revisions for these versions that should prevent users from encountering these errors. See e.g. https://hackage.haskell.org/package/aeson-better-errors-0.9.1.1/revisions/.