Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Project Euler - Problem 1
result = sum
$ filter
(\x -> x `multipleOf` 3 || x `multipleOf` 5)
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