Containers depending on ghc-prim

Johan Tibell johan.tibell at
Wed Oct 12 14:43:58 CEST 2011

On Wed, Oct 12, 2011 at 10:11 AM, Milan Straka <fox at> wrote:

> is it OK for containers to depend on ghc-prim package? The GHC
> documentation says not to use it, but it seems to me people are using it
> whenever they need :) I do not know whether there is any policy about
> that. Any comments, GHC HQ?

Yes, as long as you make sure the package is still portable. In the next
version of base we'll have Data.Bits.unsafeShirt{R,L}.

-- Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list