Setup the build commands:
Toolbar > Build > Set Build Commands
Label: "HaskellBuild"
Command*: /opt/ghc/7.8.4/bin/ghc %f
Working directory: (BLANK)
* I used the full path to ghc because it was not resolving the path on it’s own.
Under “Execute commands” at the bottom of the build commands, you should see:
Label: "Execute"
Command: ./%e
Working directory: (BLANK)
Now, you should be able to select:
Toolbar > Build > HaskellBuild (F8)
Toolbar > Build > Execute (F8)