Skip to content

Instantly share code, notes, and snippets.

@mikamix
Last active December 30, 2015 14:29
Show Gist options
  • Save mikamix/7842267 to your computer and use it in GitHub Desktop.
Save mikamix/7842267 to your computer and use it in GitHub Desktop.
main = print $ sum [x | x <- [1..999], mod x 3 == 0 || mod x 5 == 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment