euler/Problem10.hs

5 lines
105 B
Haskell

-- Find the sum of all the primes below two million.
import Euler
main = print $ sum $ primesTo 1999999