We will install Stack, a modern tool to maintain different versions of GHC and to work with different packages. Perform the following steps:
- Install Stack. Visit https://docs.haskellstack.org/en/stable/README/ and follow the instructions for your operating system.
- Check that Stack works for your system by running the command stack --version at the command prompt.
Check the latest GHC version by visiting https://www.haskell.org/ghc/. Set up GHC on your box by providing the GHC version number:
If you have already set up GHC ...