Skip to content

Commit 432f36d

Browse files
committed
chore: format list.ark
1 parent 725da60 commit 432f36d

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

List.ark

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -938,26 +938,26 @@
938938
(let _reversed_indices (reverse _ind_first_r))
939939
(while _continue {
940940
(if
941-
(not (forEach
942-
_reversed_indices
943-
(fun (_i) {
944-
(@= _cycles _i (- (@ _cycles _i) 1))
945-
(if (= 0 (@ _cycles _i))
946-
{
947-
(let _at_i (@ _indices _i))
948-
(mut _k _i)
949-
(while (< _k _len) {
950-
(if (< (+ 1 _k) _len)
951-
(@= _indices _k (@ _indices (+ 1 _k))))
952-
(set _k (+ 1 _k)) })
953-
(@= _indices -1 _at_i)
954-
(@= _cycles _i (- _len _i)) }
955-
{
956-
(let _j (* -1 (@ _cycles _i)))
957-
(let _ind_j (@ _indices _j))
958-
(@= _indices _j (@ _indices _i))
959-
(@= _indices _i _ind_j)
960-
(if (= stopIteration (_f (select _L (select _indices _ind_first_r))))
961-
(set _continue false))
962-
stopIteration }) })))
941+
(not
942+
(forEach
943+
_reversed_indices
944+
(fun (_i) {
945+
(@= _cycles _i (- (@ _cycles _i) 1))
946+
(if (= 0 (@ _cycles _i))
947+
{
948+
(let _at_i (@ _indices _i))
949+
(mut _k _i)
950+
(while (< _k _len) {
951+
(if (< (+ 1 _k) _len) (@= _indices _k (@ _indices (+ 1 _k))))
952+
(set _k (+ 1 _k)) })
953+
(@= _indices -1 _at_i)
954+
(@= _cycles _i (- _len _i)) }
955+
{
956+
(let _j (* -1 (@ _cycles _i)))
957+
(let _ind_j (@ _indices _j))
958+
(@= _indices _j (@ _indices _i))
959+
(@= _indices _i _ind_j)
960+
(if (= stopIteration (_f (select _L (select _indices _ind_first_r))))
961+
(set _continue false))
962+
stopIteration }) })))
963963
(set _continue false)) }) }) }) }))

0 commit comments

Comments
 (0)