Is there a simple method to compute time of function execution in Haskell?
Simplest things is to just do :set +s in ghci, and then you can see the execution time of anything you run, along with memory usage.
:set +s
ghci