[Haskell-cafe] Is there any way to prevent a computation from being shared?

Felipe Almeida Lessa felipe.lessa at gmail.com
Mon Nov 15 13:35:01 EST 2010


On Sat, Nov 13, 2010 at 2:55 PM, Petr Prokhorenkov
<prokhorenkov at gmail.com> wrote:
> Is there any way to overcome this?

You can add

{-# NOINLINE wtf #-}

That will prevent the sharing.  But I'm not sure if this is the best solution.

Cheers,

-- 
Felipe.


More information about the Haskell-Cafe mailing list