DynFlags.lhs

Ian Lynagh ian at well-typed.com
Wed Sep 19 21:01:46 CEST 2012


On Wed, Sep 19, 2012 at 07:28:23AM +0000, Simon Peyton-Jones wrote:
> |  > Somehow compiling DynFlags.lhs has started taking a very long time, and
> |  generates lots of code. I have not had time to investigate, but if anyone has any
> |  idea what is happening I'd be happy to know.
> |  
> |  I've added some more stuff to it recently. In particular, a large type:
> |      includes/dist-derivedconstants/header/GHCConstantsHaskellType.hs

It's mostly the Read instance, but partly the Show instance, of the
type. I've attached a simple example with just a Read instance;
compiling with
    ghc -O -c W2.hs
takes a while.


-- 
Ian Lynagh, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: W2.hs
Type: text/x-haskell
Size: 6357 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/cvs-ghc/attachments/20120919/9275ff68/attachment.hs>


More information about the Cvs-ghc mailing list