Haskell Playground

I have GHCi 9.6.7 installed along with the Haskell Toolchain, and configured it on VS Code. However VS Code reports that GHCi 9.6.7 is not supported yet. Tried to use the last May 2006 version of WinHugs98 and it didn’t understand. Both systems complained of inaccurate use of Haskell.

I then ran the code on Haskell Playground and it passed with no error. Would like to suggest that the Playground be enhanced, so that files we write on it can be saved onto our local drives rather than on the online drive. It will be nice too if a debugger, linter, was also included. It is really crazy on the PC/Windows environment to have Haskell facing so many issues. Not sure if it exists in the Linux universe (with Ubuntu Linux 26.04 and AlmaLinux 9.2 etc). But for the Mac, there is “Haskell for Mac”, a fully functional Haskell tool.

Would also like to recommend that somebody builds a Haskell IDE for Windows and perhaps Linux which can be sold for under $10 just like “Haskell for Mac” is priced at around $8++.

1 Like

I’m on mac, and I use Visual Studio code + haskell extension (hls). That works fine for me, and it works on windows/Linux too.

WinHugs98 is not maintained. Only ghc is.
Can you explain how you installed the haskell tool chain and what errors you’re getting?

VSCode says HLS not supported on GHCi 9.6.7. Not sure what to use as alternative to support it. Basically there are too many extensions on VSCode, and MS doesn’t do anything to publish only those that are validated. I have no setup errors for GHCi after I did the sequence correctly. Dropped WinHugs98. The mac doesn’t fully support what I am trying to get out of it. Will probably have to pivot over to a Linux distro such as Ubuntu Desktop 26.04 LTS or AlmaLinux 9.2.

  • Andrew

Although GHC 9.6.7 was released last year, the GHC 9.6 series is very old (as far as haskell tooling is concerned). Why not use a more recent release, it will be better supported. I’d pick the latest 9.10 or 9.12, corresponding to the latest LTS and Nightly stackage snapshots.

1 Like

I updated to 9.12.4 with latest cabal and stack. But 9.6.7 is still on the drive, and running ghci --version shows the "Glorious Glasgow Haskell Compiler 9.6.7. How should I remove it without crippling the system.

  • Andrew

Run this:
ghcup set ghc 9.12.4