Am Samstag 13 März 2010 10:55:59 schrieb Ozgur Akgun: > Yes, the function fails for [10..30]. But do you ever read the > explanations? > You probably should have chosen another signature for primes, primes n = primesWRT [2 .. n] [] , to avoid the misunderstandings.