lix/tests/functional/lang/eval-okay-flatten.nix
piegames 0a8888d1c7 treewide: Stop using ancient let syntax
Shows for how long these tests have not been touched by anyone …

Change-Id: I3d0c1209a86283ddb012db4e7d45073264fdd0eb
2024-08-21 06:55:52 +00:00

8 lines
95 B
Nix

with import ./lib.nix;
let
l = ["1" "2" ["3" ["4"] ["5" "6"]] "7"];
in
concat (flatten l)