Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakage with mtl-2.3-rc4 #14

Closed
andreasabel opened this issue Jan 28, 2022 · 4 comments
Closed

Breakage with mtl-2.3-rc4 #14

andreasabel opened this issue Jan 28, 2022 · 4 comments
Milestone

Comments

@andreasabel
Copy link
Collaborator

Looks like equivalence will break with mtl-2.3 (see haskell/mtl#86):

[2 of 2] Compiling Data.Equivalence.Monad ( src/Data/Equivalence/Monad.hs, dist/build/Data/Equivalence/Monad.o, dist/build/Data/Equivalence/Monad.dyn_o )

src/Data/Equivalence/Monad.hs:293:31: error:
    Not in scope: type constructor or class ‘Error’
    Perhaps you meant ‘ErrorT’ (imported from Control.Monad.Trans.Error)
    Perhaps you want to add ‘Error’ to the import list in the import of
    ‘Control.Monad.Trans.Error’ (src/Data/Equivalence/Monad.hs:55:1-41).
    |
293 | instance (MonadEquiv c v d m, Error e) => MonadEquiv c v d (ErrorT e m) where
    |                               ^^^^^
Error: cabal: Failed to build equivalence-0.3.5

ErrorT is deprecated in favor of ExceptT.

@andreasabel
Copy link
Collaborator Author

I am looking into a fix, PR will be forthcoming.

@andreasabel
Copy link
Collaborator Author

PR is #15

@andreasabel
Copy link
Collaborator Author

I also revised the existing versions on hackage so that they are excluded by mtl >= 2.3:

Revising "equivalence-0.2.4.cabal" (equivalence-0.2.4~0)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.12

    • Changed the library component's library dependency on 'mtl'
      from -any
      to <2.3

Revising "equivalence-0.2.5.cabal" (equivalence-0.2.5~0)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.12

    • Changed the library component's library dependency on 'mtl'
      from -any
      to <2.3

Revising "equivalence-0.2.6.cabal" (equivalence-0.2.6~1)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.12

    • Changed the library component's library dependency on 'mtl'
      from -any
      to <2.3

Revising "equivalence-0.3.0.1.cabal" (equivalence-0.3.0.1~0)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.12

    • Changed the library component's library dependency on 'mtl'
      from >=2.2.1
      to >=2.2.1 && <2.3

Revising "equivalence-0.3.1.cabal" (equivalence-0.3.1~0)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.12

    • Changed the library component's library dependency on 'mtl'
      from >=2.0.1
      to >=2.2.1 && <2.3

    • Changed the library component's library dependency on 'transformers'
      from >=0.2
      to >=0.2 && <0.6

Revising "equivalence-0.3.2.cabal" (equivalence-0.3.2~1)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.12

    • Changed the library component's library dependency on 'mtl'
      from >=2.0.1
      to >=2.2.1 && <2.3

    • Changed the library component's library dependency on 'transformers'
      from >=0.2
      to >=0.2 && <0.6

Revising "equivalence-0.3.3.cabal" (equivalence-0.3.3~0)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.13

    • Changed the library component's library dependency on 'mtl'
      from >=2.0.1
      to >=2.2.1 && <2.3

    • Changed the library component's library dependency on 'transformers'
      from >=0.2
      to >=0.2 && <0.6

Revising "equivalence-0.3.4.cabal" (equivalence-0.3.4~0)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.13

    • Changed the library component's library dependency on 'mtl'
      from >=2.0.1
      to >=2.2.1 && <2.3

    • Changed the library component's library dependency on 'transformers'
      from >=0.2
      to >=0.2 && <0.6

Revising "equivalence-0.3.5.cabal" (equivalence-0.3.5~0)

    • Changed the library component's library dependency on 'mtl'
      from >=2.0.1
      to >=2.2.1 && <2.3

    • Changed the library component's library dependency on 'transformers'
      from >=0.2
      to >=0.2 && <0.6

    • Changed the test suite 'test' component's library dependency on 'mtl'
      from >=2.0.1
      to >=2.2.1 && <2.3

Revising "equivalence-0.3.cabal" (equivalence-0.3~0)

    • Changed the library component's library dependency on 'base'
      from >=4 && <5
      to >=4 && <4.12

    • Changed the library component's library dependency on 'mtl'
      from >=2.2.1
      to >=2.2.1 && <2.3

@andreasabel
Copy link
Collaborator Author

Btw, if you are looking for a co-maintainer, I'd volunteer!

@pa-ba pa-ba closed this as completed Feb 2, 2022
@andreasabel andreasabel added this to the 0.4 milestone Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants