aeson-better-errors icon indicating copy to clipboard operation
aeson-better-errors copied to clipboard

Build failures with mtl-2.3

Open sjakobi opened this issue 3 years ago • 0 comments

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/.

sjakobi avatar May 08 '22 01:05 sjakobi