Skip to content

Instantly share code, notes, and snippets.

@geowa4
Created February 8, 2013 00:35
Show Gist options
  • Save geowa4/4735573 to your computer and use it in GitHub Desktop.
Save geowa4/4735573 to your computer and use it in GitHub Desktop.
Project Euler Problem #1
euler1 :: Int
euler1 = sum [x | x <- [1..999], rem x 3 == 0 || rem x 5 == 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment