Closed anaelChardan closed 5 years ago
You will have to install the random library. Are you using stack or plain cabal?
Indeed, it works by installing random through cabal.
cabal update
cabal install random
I'm just starting to learning some haskell, still needs to know about the environment ;). Thanks! I close the issue! ;).
I'm an absolute beginner, and I just made it work with stack. Posting this just in case anyone else is trying stack...
stack install random
ghc
to stack ghc --
in Makefile
- stack ghc --
made my day. couldn't figure this out even from multiple stackoverflow threads.
We should push a completely revamped version of the codelabs where the Makefile detects what toolchain you use and use stack
/cabal
accordingly.
Sorry for the delay
Hi, I'm trying to complete the 102 codelab but I get an error when I'm doing
make
:My GHC version is 8.0.1. ;) Thanks! The videos are very good by the way!