I assume you're using cabal, which hides all packages by default. Add "bytestring" or "bytestring >= 0.9.*" or something along those lines to Build-Depends in your .cabal file.

If you're not using cabal, I'm not sure why it would be hidden, but you can unhide with -package bytestring to GHC.

-Ross

On Apr 10, 2009, at 4:36 PM, Anatoly Yakovenko wrote:

I am trying to build ParseP on the latest ghc, and i am getting this error:

Text/ParserCombinators/ParseP/Interface.hs:26:17:
   Could not find module `Data.ByteString.Char8':
     it is a member of package bytestring-0.9.1.4, which is hidden

what does "hidden" mean?  why does this work in ghci

import Data.ByteString
import Data.ByteString.Char8


without any problems
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to