YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
|
|
@ -2,7 +2,7 @@ import system'collections.
|
|||
import system'routines.
|
||||
import extensions.
|
||||
|
||||
public program =
|
||||
public program
|
||||
[
|
||||
// 1. Create
|
||||
var aMap := Dictionary new.
|
||||
|
|
@ -15,4 +15,4 @@ public program =
|
|||
// Enumerate
|
||||
aMap forEach
|
||||
(:aKeyValue)[ console printLine(aKeyValue key," : ",aKeyValue value) ].
|
||||
].
|
||||
]
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
import system'collections.
|
||||
import system'routines.
|
||||
import extensions.
|
||||
|
||||
public program
|
||||
[
|
||||
// 1. Create
|
||||
auto aMap := Map<literal,literal>().
|
||||
aMap["key"] := "foox".
|
||||
aMap["key"] := "foo".
|
||||
aMap["key2"]:= "foo2".
|
||||
aMap["key3"]:= "foo3".
|
||||
aMap["key4"]:= "foo4".
|
||||
|
||||
// Enumerate
|
||||
aMap forEach
|
||||
(:tuple)[ console printLine(tuple item1," : ",tuple item2) ].
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue