Haskell: Problem Importing System.Random Windows

北城余情 提交于 2021-01-29 05:58:32

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!