Skip to content

Instantly share code, notes, and snippets.

@rhysd
Created May 17, 2012 07:31
Show Gist options
  • Save rhysd/2717191 to your computer and use it in GitHub Desktop.
Save rhysd/2717191 to your computer and use it in GitHub Desktop.
putStr $ show $ 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