Long story short, I'd like some guidance on what's the (best) way to have Haskell work on Archlinux.
By work I mean all, in terms of the ghci
command line tool, installing packages I don't have - such as vector-space
, which this answer to a question of mine refers to -, and any other thing that could be necessary to a Haskell ostinate learner.
Archlinux wikipage on Haskell lists three (alternative?) packages for making Haskell work on the system, namely ghc
, cabal-install
, and stack
. I have the first and the third installed on my system, but I think I must have installed the latter later (unless it's a dependency to ghc
) while tampering around (probably in relation to Vim as a Haskell IDE). Furthermore, I have a huge amount of haskell-*
packages installed (why? Who knows? As a learner I must have come multiple times to the point of say uh, let's try this!).
- Are there any pros and cons about each of those packages?
- Can they all be used with/without conflicts?
- Does any of them make any other superfluous?
- Is there anything else I should be aware of which I seem apparently ignorant about based of what I've written?
question from:
https://stackoverflow.com/questions/65643699/what-is-the-suggested-way-of-setting-up-haskell-on-archlinux 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…