I need to use System. Random but I can't find where the build-depends: option is.
System. Random
build-depends:
Use cabal init to create a cabal project, and add random to the build-dependencies stanza in the *.cabal file it generates.
cabal init
random
build-dependencies
*.cabal