mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-25 02:51:05 +01:00
* Array comprehensions Implemented using flatMap. The representation in AST was changed - now it expresses the semantic structure better. Ifs in comprehensions are not supported yet, but easy.
39 lines
273 B
Plaintext
39 lines
273 B
Plaintext
[
|
|
[
|
|
1,
|
|
"a"
|
|
],
|
|
[
|
|
1,
|
|
"b"
|
|
],
|
|
[
|
|
1,
|
|
"c"
|
|
],
|
|
[
|
|
2,
|
|
"a"
|
|
],
|
|
[
|
|
2,
|
|
"b"
|
|
],
|
|
[
|
|
2,
|
|
"c"
|
|
],
|
|
[
|
|
3,
|
|
"a"
|
|
],
|
|
[
|
|
3,
|
|
"b"
|
|
],
|
|
[
|
|
3,
|
|
"c"
|
|
]
|
|
]
|