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

Relaxed version dependency for mtl #92

Closed
wants to merge 1 commit into from

Conversation

konn
Copy link

@konn konn commented Aug 14, 2014

Git HEAD version dependency for mtl requires >= 2.2.1. Haskell Platform 2014.2.0.0 is shipped with mtl-2.1.1 so we can't use with it.

@goldfirere
Copy link
Owner

This dependency is because a test case imports Control.Monad.Except, which was introduced in mtl-2.2.1. It seems wrong to have different dependencies for test cases than for the main build, and the way to get the exception monad in mtl-2.1.x is deprecated in 2.2.1.

Is there a reason you (or your users) can't upgrade mtl? Is the issue cabal hell?

@konn
Copy link
Author

konn commented Aug 15, 2014

I got it. There are no deps hell so far, but it's likely to happen as users and library writers switch to new version of Haskell Platform. We can probably avoid cabal hell by sandboxing, but I think it's not quite convenient.

@goldfirere
Copy link
Owner

I'm somewhat inexperienced when it comes to managing versions, etc., to make things easier downstream. If you have suggestions for a better way to do this, please speak up!

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

Successfully merging this pull request may close these issues.

2 participants