Re:State of the Haskell Ecosystem – February 2016
by fiatjaf on Sunday February 21, 2016 @06:01PM
(#11147099)
I've tried many times to learn Haskell. The problem is always with setting up a compiler, getting packages, setting environment, not getting a ton of gigabytes of duplicated packages, getting useful vim support etc.
[ Parent
| on HN ]
Re:State of the Haskell Ecosystem – February 2016
by tome on Sunday February 21, 2016 @06:12PM
(#11147157)
Have you tried stack? It was released about six months ago and has revolutionised Haskell's offering in this area.
Re:State of the Haskell Ecosystem – February 2016
by Volt on Sunday February 21, 2016 @09:32PM
(#11148028)
>not getting a ton of gigabytes of duplicated packages
How does stack help here?
Re:State of the Haskell Ecosystem – February 2016
by tobik on Monday February 22, 2016 @12:41AM
(#11148762)
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.
Re:State of the Haskell Ecosystem – February 2016
by tel on Monday February 22, 2016 @12:35AM
(#11148740)
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.