Haskell on Mac OS X
There seems to be enough people struggling with getting a Haskell interpreter working on Mac OS that I’ve decided to write up step by step instructions. This is how you install the hugs Haskell interpreter.
- Get Fink from http://www.finkproject.org/download/index.php?phpLang=en
- Open the file you downloaded and, then double-click the “Fink [...] Installer.pkg” package inside (where [...] is whatever the latest version of Fink is at the time you go there). Follow the instructions on screen, defaults for everything is good, accept the installing of the path stuff.
- Open Terminal (just type Terminal in Spotlight)
- Type fink install hugs [enter]
- Enter your password
- You may be asked if you want to install something that hugs uses… just press Y and enter
- Voilà! You’ve now got hugs installed.
To use hugs in the future just run Terminal and type hugs [enter]. That’s it.