[Shootout-list] haskell lists

Brent Fulgham bfulg@pacbell.net
Fri, 01 Oct 2004 20:44:15 -0700


On 2004-09-30 09:00:33 -0700 Einar Karttunen <ekarttun@cs.helsinki.fi> 
wrote:

>> Any idea why it believes the correct answer is '4' (for N=4), rather 
>> than
>> the expected 10000?
> 
> It was using N for SIZE. Attached is a corrected version.
> The ugly code in 'for' is to make sure GHC will evaluate it N times
> and not cheat.

Alioth is acting up, so I've gone ahead and incorporated it locally 
for my run.

Thanks,

-Brent