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

Support transformers-0.6 #215

Closed
andreasabel opened this issue Apr 30, 2022 · 3 comments
Closed

Support transformers-0.6 #215

andreasabel opened this issue Apr 30, 2022 · 3 comments

Comments

@andreasabel
Copy link

Please support transfomers-0.6.
Atm, attempting to constrain to it gives these compilation errors:

Building library for free-5.1.7.. 
...
[ 9 of 20] Compiling Control.Monad.Free.Class ( src/Control/Monad/Free/Class.hs, dist/build/Control/Monad/Free/Class.o, dist/build/Control/Monad/Free/Class.dyn_o )

src/Control/Monad/Free/Class.hs:44:1: error:
    Could not load module ‘Control.Monad.Trans.List’ 

src/Control/Monad/Free/Class.hs:45:1: error:
    Could not load module ‘Control.Monad.Trans.Error’ 
@RyanGlScott
Copy link
Collaborator

At the moment, this is waiting on a new release of mtl that supports transformers-0.6. Since it appears that a new mtl release may be happening soon, I'll wait to see how that shakes out. In the meantime, I have an experimental mtl-2.3 branch that will likely serve your needs in the interim.

@emilypi
Copy link

emilypi commented May 7, 2022

Just to bump this, mtl-2.3 has been released, and free looks good to go to bump the dep:

  -- GHC-7.8 bundles transformers-0.3,
  -- mtl-2.2.* requires transformers >=0.4
  -- mtl-2.3.* requires base >=4.12
  if impl(ghc >=7.10)
    build-depends:
      mtl               >= 2.2.2 && < 2.4

This builds fine on my machine

@RyanGlScott
Copy link
Collaborator

Thanks! I've uploaded free-5.1.8 to Hackage with a fix.

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

3 participants