[Haskell] need help

rui yang r2yang at engmail.uwaterloo.ca
Mon Mar 15 22:31:53 EST 2004


Hi,all

I'm a new comer in functional programming,I have defined some functions in 
Haskell and I want to know how much CPU time each function need and compare the 
efficiency of these functions. The question is how should I test the CPU time 
of my function? it seems that those functions to call the system clock should 
be of type IO, but my functions don't have IO actions, how should I deal with 
this type conflict?

Thanks a lot.

rui  



----------------------------------------
This mail sent through www.mywaterloo.ca


More information about the Haskell mailing list