mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 09:21:03 +02: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.
2 lines
54 B
Plaintext
2 lines
54 B
Plaintext
std.flatMap(function(x) [1, 2, 3], ["a", 2, 3, 4, 5])
|