mirror of
https://github.com/apple/pkl.git
synced 2026-03-31 06:03:11 +02:00
21 lines
358 B
Plaintext
Vendored
21 lines
358 B
Plaintext
Vendored
|
|
foo = Map(1000, "some random string", 20000, "another random string", 30000, "yet another random string")
|
|
|
|
incorrect = Map("This has", 1000000, "an incorrect number", 2000000, "of parameters", 30000000, "passed to Map")
|
|
|
|
bar =
|
|
Map(
|
|
// leading
|
|
1,
|
|
2,
|
|
// between
|
|
3,
|
|
4, // trailing
|
|
5,
|
|
6,
|
|
7, // mid
|
|
8,
|
|
9,
|
|
10
|
|
)
|