Prerequisites: OS X with the latest Xcode and command line tools installed (or just the command line tools)
(If you haven't got a machine with OS X, please pair up with a participant who has got a Mac at the workshop.)
Install the Haskell Platform (2013.2.0.0, 64 bit): http://www.haskell.org/platform/mac.html (Note the special installation instructions for using the Haskell Platform with Xcode 5.)
Now, that you have got a Haskell system, install language-c-inline
, the library implementing inline C code for Haskell.
$ cabal update
$ cabal install language-c-inline-0.5.0.0
Get a coffee.
Now, we need a few more libraries for our example programs.
$ cabal install hint
That's it!