Created
March 27, 2012 03:40
-
-
Save duncanmak/2212307 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
coffee> As | |
[ 1, 2, 3, 4, 5 ] | |
coffee> Bs | |
[ 'a', | |
'b', | |
'c', | |
'd', | |
'e' ] | |
coffee> Cs | |
[ 'j', | |
'k', | |
'l', | |
'm', | |
'n' ] | |
coffee> [[x, y, z] for x in As for y in Bs for z in Cs] | |
[ [ [ [Object], | |
[Object], | |
[Object], | |
[Object], | |
[Object] ], | |
[ [Object], | |
[Object], | |
[Object], | |
[Object], | |
[Object] ], | |
[ [Object], | |
[Object], | |
[Object], | |
[Object], | |
[Object] ], | |
[ [Object], | |
[Object], | |
[Object], | |
[Object], | |
[Object] ], | |
[ [Object], | |
[Object], | |
[Object], | |
[Object], | |
[Object] ] ] ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment