问题
I've been trying use the System.Random library but keep getting the error
Could not find module `System.Random'
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
import System.Random
I've installed random with cabal (cabal install --lib random) and in powershell it says that everything is up to date. I've tried installing stack to fix the problem but have come across a lot of problems doing that.
来源:https://stackoverflow.com/questions/65250834/haskell-problem-importing-system-random-windows