PATH does indeed have /opt/ghc/8.0.2/bin which is no doubt why my command line call gets version 8.0.2. But since I didn't put it there (I didn't add it in my .bashrc; some older Haskell setup did?), I don't know how to get it out. Also, I need to use Haskell in Emacs org-mode which tends not to go by the $PATH in a Ubuntu GUI environment. So I've installed Emacs haskell-mode (latest from melpa, I believe.) I start it up -- and it gives me this:
The next big Haskell project is about to start!
If I break, you can:
1. Restart: M-x haskell-process-restart
2. Configure logging: C-h v haskell-process-log (useful for debugging)
3. General config: M-x customize-mode
4. Hide these tips: C-h v haskell-process-show-debug-tips
Changed directory: /home/hercynian/Programs/Haskell/
λ>
. . . but this doesn't tell me what version. Is there a Haskell REPL command to find out what version?