Re: [Haskell-cafe] View Thunk Evaluation

2011-06-27 Thread Tom Murphy
That is so cool! Thank you.

To anyone who's interested: Try it. It's enlightening.

Tom

On 6/26/11, Don Stewart don...@gmail.com wrote:
 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 amin...@gmail.com 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



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


[Haskell-cafe] View Thunk Evaluation

2011-06-26 Thread 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


Re: [Haskell-cafe] View Thunk Evaluation

2011-06-26 Thread 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 amin...@gmail.com 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


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