Help us understand the problem. What is going on with this article?

MacでHaskellを始める

https://qiita.com/takehilo/items/7b65d32e47510cd1fe48

こちらを参考に

brew cask install haskell-platform

すると、

Cask 'haskell-platform' is unavailable: No Cask with this name exists.

そんなものはないと言われる。

cask 抜きで brew install すると、

brew install haskell-platform
Error: No available formula with the name "haskell-platform"
We no longer package haskell-platform. Consider installing ghc,
cabal-install and stack instead:
  brew install ghc cabal-install stack

brew install ghc cabal-install stack じゃない? と言われたので、

brew install ghc cabal-install stack

Haskell環境をインストールできた。

ghci
GHCi, version 8.4.3: http://www.haskell.org/ghc/  :? for help
Prelude>

ghci で対話式コンソールを起動できる。

追記

コメントでstackの方が良いと教えて頂いたのでその場合。

brew install stack
stack setup
stack path

ここまで完了したら、stack exec ghci もしくは stack ghci でREPLを開ける。

stack exec ghci
GHCi, version 8.6.3: http://www.haskell.org/ghc/  :? for help
Prelude>
Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away