Skip to content
Displaytz edited this page May 25, 2020 · 1 revision

primes = filterPrime [ 2 .. ] kde filterPrime ( p : xs ) = p : filterPrime [ x | x <- xs , x mod p / = 0 ]

``

Clone this wiki locally