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
4
Task/Collections/Phix/collections-1.phix
Normal file
4
Task/Collections/Phix/collections-1.phix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
sequence collection = {}
|
||||
collection = append(collection,"one")
|
||||
collection = prepend(collection,2)
|
||||
? collection -- {2,"one"}
|
||||
7
Task/Collections/Phix/collections-2.phix
Normal file
7
Task/Collections/Phix/collections-2.phix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
setd("one",0)
|
||||
setd(2,0)
|
||||
function visitor(object key, object /*data*/, object /*user_data*/)
|
||||
?key
|
||||
return 1
|
||||
end function
|
||||
traverse_dict(routine_id("visitor")) -- shows 2, "one"
|
||||
Loading…
Add table
Add a link
Reference in a new issue