Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Project Euler - Problem 1

View euler-001.hs
1 2 3 4 5
result = sum
$ filter
(\x -> x `multipleOf` 3 || x `multipleOf` 5)
[1..999]
where x `multipleOf` n = x `mod` n == 0
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.