[Haskell-cafe] Forcing recomputation

Todd Wilson twilson at csufresno.edu
Wed Nov 19 18:37:54 UTC 2014


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 at 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 at 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 at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141119/0d094a80/attachment.html>


More information about the Haskell-Cafe mailing list