Tic Tac Toe in Haskell
Get the Haskell Platform
Probably the best way on a mac is to use Homebrew:
brew install haskell-platformTo be able to run the tests, you need to install HSpec:
cabal update
cabal install hspecOn Unix, type:
runghc Main.hsIf you want it as a standalone executable, you can type:
ghc Main.hs -o ticThe executable will be named tic