How to install Haskell cabal tool for Haskell 7.6.1 on Mac OSX?

后端 未结 1 1061
梦如初夏
梦如初夏 2020-12-31 07:20

I installed Haskell on MAC OSX according to the instructions on this page.

Version 7.6.1 http://www.haskell.org/ghc/download_ghc_7_6_1

However, it does not i

1条回答
  •  借酒劲吻你
    2020-12-31 08:06

    From the top of that page:

    Stop!

    For most users, we recommend installing the Haskell Platform instead of GHC. The current Haskell Platform release includes a recent GHC release as well as some other tools (such as cabal), and a larger set of libraries that are known to work together.

    So following that link will get you what you want: the Haskell Platform is GHC plus the packages and tools you want, including Cabal (the library) and cabal-install (the command-line tool). Since you're on OS X, you can also use Homebrew to get the GHC and Cabal if you want: brew install ghc cabal-install.

    0 讨论(0)
提交回复
热议问题