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

Compatibility with transformers 0.6 #313

Closed
Tracked by #256
sjakobi opened this issue Nov 17, 2021 · 1 comment
Closed
Tracked by #256

Compatibility with transformers 0.6 #313

sjakobi opened this issue Nov 17, 2021 · 1 comment

Comments

@sjakobi
Copy link

sjakobi commented Nov 17, 2021

https://hackage.haskell.org/package/transformers-0.6.0.2/changelog

It seems that this will require some code changes:

src/Snap/Internal/Instances.hs:13:1: error:
    Could not load module ‘Control.Monad.Trans.Error’
    It is a member of the hidden package ‘transformers-0.5.6.2’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
13 | import           Control.Monad.Trans.Error         (Error, ErrorT)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Snap/Internal/Instances.hs:17:1: error:
    Could not load module ‘Control.Monad.Trans.List’
    It is a member of the hidden package ‘transformers-0.5.6.2’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
17 | import           Control.Monad.Trans.List          (ListT)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ysangkok
Copy link
Contributor

@cydparser would it be possible to Address this? I can submit a PR if you'd like

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