Created
June 23, 2015 02:16
-
-
Save koher/c8db7b243e2ad347a165 to your computer and use it in GitHub Desktop.
Higher-oder functions/methods vs Control statements
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
a.map { b in | |
b.map { c in { | |
foo(b, c) | |
} | |
} | |
for b in a { | |
for c in b { | |
foo(b, c) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment