Create a gist now

Instantly share code, notes, and snippets.

Project Euler - Problem 1
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