Created
July 15, 2010 23:04
-
-
Save olsonjeffery/477666 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
main: func { | |
"Hello world" println() | |
list := ArrayList<Int> new() | |
for (i in 0..10) list add(i) | |
stringList := list map(|x| (x as Int) toString() + "blah ") | |
stringList each(|x| (x as String) println()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment