This looks pretty cool - I hope it works. I couldn't download the ubuntu package, as download.fpcomplete.com is unreachable here. I downloaded the linux-generic package, but it seems to be a bit older, and so doesn't cope w/o a stack.yaml file.<p>OK - now with a stack.yaml file it's busy getting me a ghci...<p>cabal hell was one of the first things that really put me off haskell. I was downloading and trying to get xmonad working, but within half an hour, had a completely unusable ghc / xmonad combination. I think I was on debian, and the version of ghc that was installed wasn't compatible with the correct versions of various libs that xmonad wanted to have installed... Very frustrating.<p>Well, looks like installing stack does at least allow me to get a ghci up and running. That's cool. The easier getting haskell up and running becomes, the better. It's a wacky and esoteric language enough without it being hard to get going...<p>Interesting how programming languages "need" their own package manager these days. A bit of a pain that there's no universal one for all languages, but I guess that would be just too convenient...
Hmm...<p><pre><code> $ cabal install stack
Resolving dependencies...
Configuring stack-0.0.1...
Building stack-0.0.1...
Failed to install stack-0.0.1
Build log ( /Users/Tyilo/.cabal/logs/stack-0.0.1.log ):
Configuring stack-0.0.1...
Building stack-0.0.1...
Preprocessing library stack-0.0.1...
...
[45 of 45] Compiling Stack.Config ( src/Stack/Config.hs, dist/build/Stack/Config.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.1 for x86_64-apple-darwin):
Loading temp shared object failed: dlopen(/var/folders/db/kt60mzx93p110r61jzjbf3nw0000gn/T/ghc19215_0/libghc19215_228.dylib, 5): Symbol not found: _stackzuIf4F8EsotzzFA5770kfJV6V_StackziTypesziFlagName_zdfBinaryFlagName_closure
Referenced from: /var/folders/db/kt60mzx93p110r61jzjbf3nw0000gn/T/ghc19215_0/libghc19215_228.dylib
Expected in: flat namespace
in /var/folders/db/kt60mzx93p110r61jzjbf3nw0000gn/T/ghc19215_0/libghc19215_228.dylib
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
cabal: Error: some packages failed to install:
stack-0.0.1 failed during the building phase. The exception was:
ExitFailure 1</code></pre>
Are there any examples of Haskell being used to do anything really cool and useful to the average programmer. To me it seems as an esoteric language that I would simply not bother using because no one uses it and deploying it would be a headache.