Skip to content

Instantly share code, notes, and snippets.

@olsonjeffery
Created July 15, 2010 23:04
Show Gist options
  • Save olsonjeffery/477666 to your computer and use it in GitHub Desktop.
Save olsonjeffery/477666 to your computer and use it in GitHub Desktop.
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