Thanks, Chris and Tom, your posts contained exactly what I was looking for.

--Todd

Todd Wilson, PhD
Department of Computer Science
California State University, Fresno

On Tue, Nov 18, 2014 at 11:58 PM, Christopher Allen <cma@bitemyapp.com> wrote:
Looks like http://hackage.haskell.org/package/base-4.7.0.1/docs/Control-Exception.html#g:8 ?

https://github.com/bos/criterion/blob/master/Criterion/Types.hs#L290-L295

On Wed, Nov 19, 2014 at 1:55 AM, Tom Ellis <tom-lists-haskell-cafe-2013@jaguarpaw.co.uk> wrote:
On Tue, Nov 18, 2014 at 11:39:37PM -0800, Todd Wilson wrote:
> For example, suppose I have a function f and two arguments e1
> and e2, and I want to compare the time it takes to compute f e1 vs. f
> e2

If your purpose is benchmarking (and even if it isn't) I suggest you look at
how criterion manages the issue

    http://www.serpentine.com/criterion/tutorial.html
_______________________________________________
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