Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/1183080b1b45dbcaa6af1154e2e668f924598772 >--------------------------------------------------------------- commit 1183080b1b45dbcaa6af1154e2e668f924598772 Author: Simon Peyton Jones <simo...@microsoft.com> Date: Thu Dec 6 16:03:16 2012 +0000 Stop attempting to "trim" data types in interface files Without -O, we previously tried to make interface files smaller by not including the data constructors of data types. But there are a lot of exceptions, notably when Template Haskell is involved or, more recently, DataKinds. However Trac #7445 shows that even without TemplateHaskell, using the Data class and invoking Language.Haskell.TH.Quote.dataToExpQ is enough to require us to expose the data constructors. So I've given up on this "optimisation" -- it's probably not important anyway. Now I'm simply not attempting to trim off the data constructors. The gain in simplicity is worth the modest cost in interface file growth, which is limited to the bits reqd to describe those data constructors. Conflicts: compiler/main/TidyPgm.lhs compiler/main/TidyPgm.lhs | 207 ++++++++++++++++++++++++--------------------- 1 files changed, 109 insertions(+), 98 deletions(-) Diff suppressed because of size. To see it, use: git show 1183080b1b45dbcaa6af1154e2e668f924598772 _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc