Skip to content

Instantly share code, notes, and snippets.

@vivekmittal
Last active August 29, 2015 14:12
Show Gist options
  • Save vivekmittal/d4261ac5cd35db6624c3 to your computer and use it in GitHub Desktop.
Save vivekmittal/d4261ac5cd35db6624c3 to your computer and use it in GitHub Desktop.
Project Euler
-- Sum of multiples of 3 or 5 below 1000
sum [x | x<-[1..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