feat(tvix/eval): Implement builtins.concatMap

Change-Id: I08bfd040a242aa43b64760c19f48a28303f206ac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6900
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Griffin Smith 2022-10-08 15:12:32 -04:00 committed by clbot
parent afdf1e0ed0
commit b6089fb1e5
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1 @@
[ "a" "z" "b" "z" ]

View file

@ -0,0 +1 @@
(builtins.concatMap (x: [x] ++ ["z"]) ["a" "b"])