public
Created

Project Euler - Problem 10 - Sum of primes below 2 millions

  • Download Gist
euler-010.hs
Haskell
1 2 3
import ONeillPrimes(primes)
 
result = sum $ takeWhile (< 2000000) primes

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.