Skip to content

Comment on State of the Haskell Ecosystem – February 2016parent

Comments

Have you tried stack? It was released about six months ago and has revolutionised Haskell's offering in this area.

not getting a ton of gigabytes of duplicated packages

How does stack help here?

Dependencies are downloaded and compiled once for all your projects using the same Stackage release and are shared between projects.

In the end you still might have duplicated dependencies if you use different stackage.org releases but it's a much better situation than using Cabal sandboxes where every project has its own copy of dependencies.

You build against a fixed set of packages defined by "Stackage" so that you only need to build them all once. While this set evolves over time, if many (or all?) of your projects target the same Stackage LTS then you won't need to rebuild dependencies.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.