#211 Haskell for MacOS
Getting a Haskell compiler running under MacOS
Notes
There are at least three methods:
- binary installation - see Downloads for OS X
- brew - see Quick setup for GHC 7.11 and later
- source compilation - see Building and Porting GHC
brew
I use homebrew to manage most of my software installation, so I’ll use that.
The brew formula for installing Haskell is ghc.
Note there was an earlier formula called haskell-platform
.
$ brew install ghc
==> Downloading https://homebrew.bintray.com/bottles/ghc-7.10.3b.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ghc-7.10.3b.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/ghc/7.10.3b: 5,436 files, 826.8M
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3
So far, so good..