[Haskell-cafe] How to deal with dependency bounds for an application

Alois Cochard alois.cochard at gmail.com
Fri Jul 4 13:01:52 UTC 2014


Hi Daniel,

Thanks for your feedback!

I'll give it a try to match last two Haskell platforms, that sound
reasonable.

How one should deal with such thing, I suppose having some docker container
template for each platform version would be helpful? (specially when having
to do that for multiple lib)

Cheers

Alois





On 3 July 2014 07:20, Daniel Trstenjak <daniel.trstenjak at gmail.com> wrote:

>
> Hi Alois,
>
> > Should I know what is the lowest possible combination of my dependencies
> who
> > would compile... because if I'm too strict it might be difficult for
> some user
> > to install? or maybe I should target as lowest what is in current
> > haskell-platform?
>
> Yes, looking at the last two haskell platforms might be a good pragmatical
> choice.
>
> I even like the idea that much that I might add a feature to my own
> dependency
> handling tool cabal-bounds[1]:
>
>    cabal-bounds update --lower --haskel-platform=2012.4.0.0 ...
>
>
> I think that getting the lower dependencies "right" is more an issue for
> libraries, because in the case of applications a cabal sandbox can avoid
> most of the possible problems.
>
>
> Greetings,
> Daniel
>
> [1] https://github.com/dan-t/cabal-bounds
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
*A\ois*
http://twitter.com/aloiscochard
http://github.com/aloiscochard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140704/7e7289a8/attachment.html>


More information about the Haskell-Cafe mailing list