You're right, I think. I wasn't being very scientific with my investigation. Though as mentioned, -fno-full-laziness seems like a bit of a sledgehammer.
On Fri, Dec 18, 2015 at 06:43:10PM +0000, David Turner wrote:
> Some combination of dummy arguments, NOINLINE and -fno-full-laziness did
> indeed prevent it from sharing but this definitely seemed unsatisfactory.
> Particularly that -fno-full-laziness applies to the whole module which
> feels a bit heavyweight.
I would be very surprised if -fno-full-laziness did not fix the issue on its
own. Do you have a simple example which I can reproduce myself that shows
that it doesn't?
Tom
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe