Created
August 1, 2016 20:34
-
-
Save LukaJCB/1ef4e596d8909077d1723ba909fe842a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| var sum = 0 | |
| ints.filter { it > 0 }.forEach { | |
| sum += it | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment