As it currently stands, it is impossible to follow this tutorial exactly as written since installing the packages using the current version of ghc in the order given will lead to package conflicts, and cabal will refuse to work. Even installing all packages at once doesn't work on a system I recently tried -- cabal somehow tries to install a very old version of ghc-mod and fails.
It is a bit unfortunate that beginners have to endure these things, but maybe the tutorial should include a section telling the reader what to do when cabal hell is encountered, for example
As it currently stands, it is impossible to follow this tutorial exactly as written since installing the packages using the current version of ghc in the order given will lead to package conflicts, and cabal will refuse to work. Even installing all packages at once doesn't work on a system I recently tried -- cabal somehow tries to install a very old version of ghc-mod and fails.
It is a bit unfortunate that beginners have to endure these things, but maybe the tutorial should include a section telling the reader what to do when cabal hell is encountered, for example