[Haskell-cafe] Preventing sharing

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Fri Dec 18 18:53:49 UTC 2015


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


More information about the Haskell-Cafe mailing list