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