-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Describe the bug
The original LYAH states that the Haskell Platform should be installed. It's obviously outdated and was replaced with GHCup in this fork. However, System.Random
(from the random
package) used in the I/O chapter, which ships with the Haskell Platform, isn't installed by default if you use GHCup, and needs to be explicitly installed with Stack/Cabal/idk.
To Reproduce
Run import System.Random
in GHCi, when attempting to follow this chapter.
Expected behavior
How it should be installed is mentioned in the chapter on I/O.
I'm not too familiar with Haskell tooling, but cabal update && cabal install --lib random
worked for me, but other sources on the web recommended using stack instead, and many recommended creating a proper project with cabal/stack.
(P.S. I don't think the bug report template is that applicable for this project, because issues with the content are more likely than issues with the web page rendering)