3

I'm trying to import the Data.String.Utils module in my Haskell code, this is part of the MissingH package. I've installed cabal and used it to acquire MissingH, which is properly installed. However, wehn I try adding

import Data.String.Utils

to my code, WinHugs returns

ERROR file:.\ex.hs - Can't find imported module "Data.String.Utils"

Any feedback?

4

1 回答 1

2

您已经使用 Cabal 安装了 MissingH。

将 Cabal 包与 WinHugs 一起使用是命中注定的。

使用 ghciimport Data.String.Utils应该可以。

于 2013-10-26T16:16:10.977 回答