Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Project Euler - Problem 2

View euler-002.hs
1 2
result = sum $ takeWhile (<= 4000000) $ filter even fibs
where fibs = 1:2:zipWith (+) fibs (tail fibs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.