Created
January 2, 2015 16:52
-
-
Save fbiville/2cf66e4bcd14812700c0 to your computer and use it in GitHub Desktop.
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
foldl (+) 0 (filter (\n -> n `mod` 3 == 0 || n `mod` 5 == 0) [1..999]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment