mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 01:11:02 +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.
3 lines
78 B
Plaintext
3 lines
78 B
Plaintext
local failWith(x) = error x;
|
|
std.type(std.flatMap(failWith, ["a", "b", "c"]))
|