Skip to content

Instantly share code, notes, and snippets.

@aruld
Created October 19, 2011 18:27
Show Gist options
  • Select an option

  • Save aruld/1299210 to your computer and use it in GitHub Desktop.

Select an option

Save aruld/1299210 to your computer and use it in GitHub Desktop.
Type checking sample
main() {
var lst = new List<num>(2);
lst[0] = 2;
lst[1] = 'two';
for (var e in lst) {
print(e);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment