[Haskell-beginners] Primes calculation

Ozgur Akgun ozgurakgun at gmail.com
Sat Mar 13 04:55:59 EST 2010


Yes, the function fails for [10..30]. But do you ever read the explanations?

On 13 March 2010 06:39, I. J. Kennedy <jack at realmode.com> wrote:

>
> primes [10..30] = [10,11,12,13,14,15,16,17,18,19,21,23,25,27,29] -- not bad
>> actually, works as advertised.
>
>
> FAIL
>



-- 
Ozgur Akgun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100313/c1f77102/attachment.html


More information about the Beginners mailing list