[Haskell-cafe] version of containers fixed by template-haskell?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Apr 17 10:15:35 CEST 2013


On 17 April 2013 18:10, Johannes Waldmann <waldmann at imn.htwk-leipzig.de> wrote:
> Is it still the case that
> "It just doesn't work to have multiple versions of a wired-in package"
> (cf. http://hackage.haskell.org/trac/ghc/ticket/5704 )?
>
> ghc-7.6.2 comes with containers-0.5.0.0 and template-haskell-2.8.0.0 .
> It seems I can upgrade to containers-0.5.2.1 and use it with no problems
> but not alongside template-haskell:

template-haskell depends upon containers; as such, if you try and use
a different version of containers whilst also using template-haskell
you're going to run into the diamond dependency problem:
http://www.well-typed.com/blog/9#

>
> ... changes: containers-0.5.0.0 -> 0.5.2.1,
> Warning: The following packages are likely to be broken by the reinstalls:
> ... ghc-7.6.2
>
> (Isn't it somewhat bold of cabal-install to offer to break "ghc-7.6.2"?
> like, this will completely hose the compiler?)
>
> That's bad, because I use containers everywhere, and I assume that
> 0.5.2.1 has some advantages (like, speed) over 0.5.0.0.
>
> - J.W.
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list