darcs patch: Inline shift in GHC's Bits instances for {Int, Word}{, 8...

Simon Marlow simonmarhaskell at gmail.com
Mon Oct 9 05:57:44 EDT 2006


Duncan Coutts wrote:

> Note that it's not the building the .a file that takes ages, it's
> re-generating the index. I have a 100 line Haskell 'ar' prog that builds
> libHSbase.a in no time at all, but you still have to call ranlib to
> create the symbol index.
> 
> http://haskell.org/~duncan/Ar.hs  -- for reading .a files
> http://haskell.org/~duncan/Ar2.hs -- for creating .a files
...
> Hmm, maybe I should add that ar code into Cabal...

Sounds like a good idea to me, and will help the GHC build once we start using 
Cabal.

Cheers,
	Simon


More information about the Libraries mailing list