Skip to content

Instantly share code, notes, and snippets.

@voidcontext
Created January 6, 2015 21:29
Show Gist options
  • Save voidcontext/e22354ed79d814cce99e to your computer and use it in GitHub Desktop.
Save voidcontext/e22354ed79d814cce99e to your computer and use it in GitHub Desktop.
Project Euler
-- Problem 1
sum [x | x <- [0..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