[Haskell-cafe] what does the hidden package error mean?

Ross Mellgren rmm-haskell at z.odi.ac
Fri Apr 10 16:39:32 EDT 2009

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.


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-, 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
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list