安装 ghc 后,我更改了工作目录
:cd /newDirectory
为此,我收到警告:
Warning: changing directory causes all loaded modules to be unloaded,
because the search path has changed.
现在,我不能使用像 Char 这样的数据类型。对于这一行:
map Char.isLower "abcD"
我收到消息:
Failed to load interface for `Char'
It is a member of the hidden package `haskell98-2.0.0.2'.
Use -v to see a list of the files searched for.
目录更改是该错误的原因吗?我该如何解决?