git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
37 lines 960 B history raw
1const test1 = test1$a0$copy => test1$a1$copy => {
2 let test1$a0 = test1$a0$copy, test1$a1 = test1$a1$copy, test1$c = true, test1$r;
3 while (test1$c) {
4 const b = test1$a0, arr = test1$a1;
5 const $0 = arr.length - 1 | 0;
6 if ($0 >= 0 && $0 < arr.length) {
7 if (0 < arr.length) {
8 if (arr[$0] === 2 && arr[0] === 1) {
9 test1$c = false;
10 test1$r = arr;
11 continue;
12 }
13 const $1 = arr[$0];
14 if (b) {
15 test1$c = false;
16 test1$r = [];
17 continue;
18 }
19 test1$a0 = b;
20 test1$a1 = [$1, arr[0], 3, $1, 5, 6, 7, 8, 9, 10, arr[0], 12, 13, 14, 15, 16, 17, ...arr];
21 continue;
22 }
23 test1$c = false;
24 test1$r = [...arr, arr[$0]];
25 continue;
26 }
27 if (0 < arr.length) {
28 test1$c = false;
29 test1$r = [...arr, arr[0]];
30 continue;
31 }
32 test1$c = false;
33 test1$r = arr;
34 }
35 return test1$r;
36};
37export {test1};