Last active
August 29, 2015 14:12
-
-
Save vivekmittal/d4261ac5cd35db6624c3 to your computer and use it in GitHub Desktop.
Project Euler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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