sirkerf
example15.hs:1:1: error:
Could not find module 'Monad'
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
1 | import Monad
| ^^^^^^^^^^^^
example15.hs:2:1: error:
Could not find module 'System'
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
2 | import System
| ^^^^^^^^^^^^^
example15.hs:3:1: error:
Could not find module 'IO'
Perhaps you meant Id (needs flag -package-key ghc-8.10.4)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
3 | import IO
| ^^^^^^^^^
example15.hs:4:1: error:
Could not find module 'Random'
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
4 | import Random
| ^^^^^^^^^^^^^このようなエラーが出ます。
何かがうまく行ってないのですが、cabalを編集しても全くうまくいきません。
助けてください。