Debian Codegraph @

sass-spec/spec/values/maps/zip/input.scss

raw
1 $map1: (aaa: 100, bbb: 200, ccc: 300);
2 $map2: (ddd: 400, eee: 500, fff: 600);
3
4 a {
5 $new-list: zip($map1, $map2);
6 b: $new-list;
7 b: length($new-list);
8 b: type-of($new-list);
9 b: nth($new-list, 1);
10 b: length(nth($new-list, 1));
11 b: nth(nth($new-list, 1), 1);
12 b: nth(nth($new-list, 1), 2);
13 b: nth($new-list, 2);
14 b: length(nth($new-list, 2));
15 b: nth(nth($new-list, 2), 1);
16 b: nth(nth($new-list, 2), 2);
17 b: nth($new-list, 3);
18 b: length(nth($new-list, 3));
19 b: nth(nth($new-list, 3), 1);
20 b: nth(nth($new-list, 3), 2);
21
22
23 $new-list: zip($map2, $map1);
24 c: $new-list;
25 c: length($new-list);
26 c: type-of($new-list);
27 c: nth($new-list, 1);
28 c: length(nth($new-list, 1));
29 c: nth(nth($new-list, 1), 1);
30 c: nth(nth($new-list, 1), 2);
31 c: nth($new-list, 2);
32 c: length(nth($new-list, 2));
33 c: nth(nth($new-list, 2), 1);
34 c: nth(nth($new-list, 2), 2);
35 c: nth($new-list, 3);
36 c: length(nth($new-list, 3));
37 c: nth(nth($new-list, 3), 1);
38 c: nth(nth($new-list, 3), 2);
39 }