News for hackers. Stuff that matters.
Re:Haskell Packages for Development by moomin on Wednesday May 21, 2014 @01:28PM (#7779487)
Of course, when I last tried installing stylish-haskell (last week), it insisted on taking non-compatible/broken dependencies. Yes, on a clean environment.

When I learn more Haskell, I may succeed to figuring out what's wrong.

Re:Haskell Packages for Development by jfischoff on Wednesday May 21, 2014 @02:39PM (#7779953)
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.
Re:Haskell Packages for Development by spott on Wednesday May 21, 2014 @03:51PM (#7780370)
so, what does `cabal copy` do? copy the sandbox to your local .cabal/bin/?
Re:Haskell Packages for Development by jfischoff on Wednesday May 21, 2014 @03:59PM (#7780431)
yeah
Re:Haskell Packages for Development by moomin on Monday May 26, 2014 @04:02AM (#7799058)
Doesn't do it. In other news, stylish-haskell appears to have been updated and now installs. :)

Still, as a first experience of haskell, it ain't great.

Re:Haskell Packages for Development by stefantalpalaru on Wednesday May 21, 2014 @07:10PM (#7781289)
Don't blame Haskell for it.

On Gentoo with the official 'haskell' overlay it's just a matter of running

    emerge stylish-haskell