ANNOUNCE: GHC version 6.8.3 binary-dists

Christian Maeder Christian.Maeder at
Wed Jul 2 07:25:35 EDT 2008

Simon Peyton-Jones wrote:
> As I said to Serge, I *think* all this arises from the *unconditional* inlining of instance declarations, which isn't under flag control unfortunately.  The only fix at the moment is to write instance decls whose code is small -- just call a separate top-level function
>         instance C T where
>           op = op_T
>         op_T = ....

I've changed our generation of instances to follow this pattern and 
indeed the object code size is much smaller!

This is a workaround for

Thanks Christian

More information about the Glasgow-haskell-users mailing list