Skip to content

Instantly share code, notes, and snippets.

@DavidBrower
Created April 19, 2016 11:58
Show Gist options
  • Save DavidBrower/03bbca05a4de4992426df50e04a54d1d to your computer and use it in GitHub Desktop.
Save DavidBrower/03bbca05a4de4992426df50e04a54d1d to your computer and use it in GitHub Desktop.
First Euler in Haskell
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