[Haskell-cafe] Compatibility etiquette for apps, with cabal sandboxes and `stack`

Paolo Giarrusso p.giarrusso at gmail.com
Sun Nov 29 16:37:11 UTC 2015


On Sunday, November 29, 2015 at 1:23:58 PM UTC+1, Michael Snoyman wrote:
>
> For your particular example, you can use the transformers-compat package.
>

Thanks, that's useful!

But to answer your general question: for applications, I strongly advocate 
> supporting just a single set of package version combos for dependencies. 
> Stack does do this by default, but cabal freeze files can get you most of 
> the way there too (barring some corner cases with different OSes and 
> OS-specific packages).
>
> I'm sure others will disagree with this recommendation, but I see no 
> reason to absorb a large amount of compatibility work just so that two 
> installations of the same application may end up behaving differently at 
> runtime because of differences in the behavior of a dependency.
>
 
Personally, I switched all the way to stack. I added mention of cabal 
sandboxes to address anybody who didn't switch yet or who prefers to stick 
to cabal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151129/4d387a41/attachment.html>


More information about the Haskell-Cafe mailing list