Installation


This course will be using the glorious Glasgow Haskell Compiler (ghc), version 9.6. Together with the tool cabal, version 3 or higher.

Once installed, you should be able to run the command

$ cabal init

to initialize a project.

The command

$ cabal build

will comile the project, and

$ cabal test

will run your test suite.

Interaction


ghc comes with an interactive read eval tool called ghci, which you can open by simply running.

$ ghci

In ghci you can type

ghci> :?

to get furhter help.