
Hi All, Is there a way to determine whether a thunk was evaluated during code's execution? Thanks, Tom

Yes, via the -hpc tracing mechanism.
When executed HPC generates a highlighted log of your source, and
expressions that aren't evaluated will be marked up in a special
color.
On Sun, Jun 26, 2011 at 9:22 PM, Tom Murphy
Hi All, Is there a way to determine whether a thunk was evaluated during code's execution?
Thanks, Tom
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

That is so cool! Thank you.
To anyone who's interested: Try it. It's enlightening.
Tom
On 6/26/11, Don Stewart
Yes, via the -hpc tracing mechanism.
When executed HPC generates a highlighted log of your source, and expressions that aren't evaluated will be marked up in a special color.
On Sun, Jun 26, 2011 at 9:22 PM, Tom Murphy
wrote: Hi All, Is there a way to determine whether a thunk was evaluated during code's execution?
Thanks, Tom
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Don Stewart
-
Tom Murphy