Created
December 7, 2011 17:36
-
-
Save ccapndave/1443726 to your computer and use it in GitHub Desktop.
Nested loops
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
for x in [0...3] | |
for y in [0...3] | |
doSomething x, y | |
# Is there a clever Coffee way to do this is a single loop/line? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you put a little work in ahead of time, you can do: