Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haskell Import MissingH

Tags:

haskell

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?

like image 950
MrD Avatar asked Sep 08 '26 17:09

MrD


1 Answers

You already have MissingH installed with Cabal.

Using Cabal packages with WinHugs is hit and miss.

Use ghci and import Data.String.Utils should work.

like image 135
Alain O'Dea Avatar answered Sep 12 '26 17:09

Alain O'Dea