Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
shared void run() {
|
||||
|
||||
//create a list of closures with a list comprehension
|
||||
value closures = [for(i in 0:10) () => i ^ 2];
|
||||
|
||||
for(i->closure in closures.indexed) {
|
||||
print("closure number ``i`` returns: ``closure()``");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue