neohaskell/NeoHaskell

Support multiple versions of same library

safinaskar opened this issue · 5 comments

As well as I understand both cabal and stack don't support having multiple versions of same library in dependency tree for single Haskell binary. This is very unfortunate. I strongly believe this is single biggest Haskell problem. This problem means that typical library developer has to always migrate to newer versions of its dependencies to make sure the library is compatible with the rest of ecosystem (and the developer has to actually update their code). If we somehow solve this problem, this will mean that library author can simply stick to some particular versions forever. Library developers will simply use caret dependencies for everything ( commercialhaskell/stack#3464 ) and will never change their versions (Rust devs do the same). In Rust we can have multiple versions of same library in dependency tree

This current Haskell restriction limits its grow

I'm very sorry. I'm wrong. cabal allows multiple versions of the same package in one dependency tree

We're gonna piggyback Cabal, so I guess this can be closed now. Feel free to reopen if needed :)

@NickSeagull , okay, I agree. (Also, keep in mind that strangers have no rights to reopen issues here)

Sure, just ping here and I'll reopen