Skip to content

Instantly share code, notes, and snippets.

@drewdhunter
Created April 7, 2014 18:17
Show Gist options
  • Save drewdhunter/10026577 to your computer and use it in GitHub Desktop.
Save drewdhunter/10026577 to your computer and use it in GitHub Desktop.
Euler 1 - Haskell
sum [x | x <- [1..999], x `mod` 3 == 0 || x `mod` 5 == 0 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment