On Mon, Jul 2, 2012 at 7:54 AM, Kazu Yamamoto <k...@iij.ad.jp> wrote:
> Hello,
>
>> vacuum allow that and much more though I don't know if it still works
>> correctly on GHC 7.4. Anyway your isThunk is
>>
>>> isThunk a = fmap GHC.Vacuum.ClosureType.isThunk GHC.Vacuum.closureType
>
> Great. I confirmed that this works with GHC 7.4.

Good news !

> # I removed the "a" parameter.

Yes, I wrote an horrible hybrid of two idea and the result don't
work... I suppose you got something like that :

> isThunk :: a -> IO Bool
> isThunk = fmap VC.isThunk . closureType

-- 
Jedaï

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to