I have been trying to use stack for some time without success. Is there an easy way to configure stack so that I can install a few packages, just to try Haskell on something non-trivial? I have stack in my machine configured with the latest version of ghc:
~/hs$ stack ghc -- --version The Glorious Glasgow Haskell Compilation System, version 8.6.5 The problem is that the only thing that I have managed to do with stack, so far, is to discover the ghc version. For instance, I tried to install the yi editor without success using many different methods, such as cabal. Then I tried stack, thus: ~/hs$ stack install yi --flag yi:vty Stack starts complaining about dependences, and suggests that I add a an extra-deps section to ~/.stack/global-project/stack.yaml, which I did. Then it takes a long time performing downloads, until it gives up with an unrecoverable error message: yi-core > /private/var/folders/7d/mwm1yx257sg8z5y12h77cy440000gn/T/stack89879/yi-core-0.18.0/src/Yi/Buffer/Misc.hs:873:3-30: error: yi-core > • No instance for (Control.Monad.Fail.MonadFail BufferM) yi-core > arising from a do statement yi-core > with the failable pattern ‘Just !ms’ yi-core > • In a stmt of a 'do' block: Just !ms <- getMarks =<< ask yi-core > 873 | Just !ms <- getMarks =<< ask yi-core > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I tried stack with many other packages, such as Berp (a compiler for Python), Pugs (implementation of Perl 6), haspy (Python), Jhc, rasa, without any success. I wonder if Haskell has something that works flawlessly and fast, as quicklisp or roswell in Common Lisp. For instance, I installed the lem text editor with roswell just typing the line below: ~$ ros install cxxxr/lem I also installed compilers and interpreters for Python, Fortran, Prolog (wamlisp) and other languages with equal facility, this time using quicklisp. For instance: ~$ rlwrap sbcl * (ql:quickload :cl-python) Very complex packages, such as Maxima Computer Algebra, install easily in Common Lisp. Another thing that I consider very important is that sbcl posts a new version of the compiler every month. All versions work perfectly well, and old software works with all versions. I believe that I am doing something very wrong with stack, cabal and Haskell, since any moderately complex package simply does not install. -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/307686d2-7605-4f86-9c86-1d5b483cbd47%40googlegroups.com.