Forget about emacs swap files.
Minimal working Main.hs. Install with cabal-dev install.