I recently installed ghc 7.8, but now I want to go back to ghc 7.4
I installed ghc 7.8 via a binary package, but I didn't uninstall it correctly. When I run ghc
, ghci
or runhaskell
, I get
/usr/local/bin/ghc: line 9: /usr/local/lib/ghc-7.8.2/bin/ghc: No such file or directory
How do I change all these applications to point to the correct version (7.4) that's here?
/usr/bin/ghc-7.4.1