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?

On Mon, May 14, 2018 at 1:57 PM Francesco Ariis <fa-ml@ariis.it> wrote:
Hello Lawrence,

On Mon, May 14, 2018 at 12:52:01PM -0400, Lawrence Bottorff wrote:
> I've tried various removes, but to no avail. The newer version is on my
> system:

There should be no need of removing the old version.

> 12:50:32:/usr/local/haskell/ghc-8.4.2-x86_64/bin$ ./ghci --version
> The Glorious Glasgow Haskell Compilation System, version 8.4.2

What does `echo $PATH` say?

-F
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners