Re: [Haskell-cafe] Tracing applied functions

2011-01-25 Thread steffen
did you try Debug.Trace?

http://haskell.org/ghc/docs/latest/html/libraries/base/Debug-Trace.html

On Jan 25, 3:39 am, Aaron Gray aaronngray.li...@gmail.com wrote:
 On 25 January 2011 02:12, Ivan Lazar Miljenovic
 ivan.miljeno...@gmail.comwrote:









  On 25 January 2011 12:05, Aaron Gray aaronngray.li...@gmail.com wrote:
   On 24 January 2011 23:01, Ivan Lazar Miljenovic 
  ivan.miljeno...@gmail.com
   wrote:

   On 25 January 2011 02:55, Aaron Gray aaronngray.li...@gmail.com wrote
Is there anyway to get a list of applied functions in the running of a
Haskell program ?

   Profile it?

   Okay, How do I do that ?

 http://www.haskell.org/haskellwiki/How_to_profile_a_Haskell_program
 http://book.realworldhaskell.org/read/profiling-and-optimization.html

 Thanks I will have a look at those in the morning.

 Aaron







   --
  Ivan Lazar Miljenovic
  ivan.miljeno...@gmail.com
  IvanMiljenovic.wordpress.com

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

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


Re: [Haskell-cafe] Tracing applied functions

2011-01-24 Thread Ivan Lazar Miljenovic
On 25 January 2011 02:55, Aaron Gray aaronngray.li...@gmail.com wrote:
 Is there anyway to get a list of applied functions in the running of a
 Haskell program ?

Profile it?

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

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


Re: [Haskell-cafe] Tracing applied functions

2011-01-24 Thread Aaron Gray
On 24 January 2011 23:01, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.comwrote:

 On 25 January 2011 02:55, Aaron Gray aaronngray.li...@gmail.com wrote:
  Is there anyway to get a list of applied functions in the running of a
  Haskell program ?

 Profile it?


Okay, How do I do that ?

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


Re: [Haskell-cafe] Tracing applied functions

2011-01-24 Thread Ivan Lazar Miljenovic
On 25 January 2011 12:05, Aaron Gray aaronngray.li...@gmail.com wrote:
 On 24 January 2011 23:01, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com
 wrote:

 On 25 January 2011 02:55, Aaron Gray aaronngray.li...@gmail.com wrote:
  Is there anyway to get a list of applied functions in the running of a
  Haskell program ?

 Profile it?

 Okay, How do I do that ?

http://www.haskell.org/haskellwiki/How_to_profile_a_Haskell_program
http://book.realworldhaskell.org/read/profiling-and-optimization.html

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

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


Re: [Haskell-cafe] Tracing applied functions

2011-01-24 Thread Aaron Gray
On 25 January 2011 02:12, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.comwrote:

 On 25 January 2011 12:05, Aaron Gray aaronngray.li...@gmail.com wrote:
  On 24 January 2011 23:01, Ivan Lazar Miljenovic 
 ivan.miljeno...@gmail.com
  wrote:
 
  On 25 January 2011 02:55, Aaron Gray aaronngray.li...@gmail.com wrote
   Is there anyway to get a list of applied functions in the running of a
   Haskell program ?
 
  Profile it?
 
  Okay, How do I do that ?

 http://www.haskell.org/haskellwiki/How_to_profile_a_Haskell_program
 http://book.realworldhaskell.org/read/profiling-and-optimization.html


Thanks I will have a look at those in the morning.

Aaron


  --
 Ivan Lazar Miljenovic
 ivan.miljeno...@gmail.com
 IvanMiljenovic.wordpress.com

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