Comment

Comment by jfischoff

The package management story in Haskell, I don't want to say broken, is just too complicated for beginners, err actually everyone.

For instance, to install stylish-haskell you will ultimately need the "happy" executable, but cabal is not smart enough to get it for you.

I don't know what a "clean" environment means, nor do I know what you mean by "broken dependencies." Did you:

    mkdir stylish-sandbox
    cd stylish-sandbox
    cabal update 
    cabal sandbox init 
    cabal install happy stylish-haskell 
    cabal copy
    cd ..
    rm -r stylish-sandbox
That might work.
parent jfischoff 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton