use for rather than let loop
This commit is contained in:
parent
2d1cf47636
commit
46899084f1
|
@ -245,11 +245,10 @@
|
|||
(select-all)
|
||||
(clear)
|
||||
(reset-style)
|
||||
(let loop ([remaining stripped-exps] [first #t])
|
||||
(unless (null? remaining)
|
||||
(unless first (insert #\newline))
|
||||
(format-sexp (car remaining))
|
||||
(loop (cdr remaining) #f)))
|
||||
(for ([exp stripped-exps] [i (in-naturals)])
|
||||
(unless (= i 0)
|
||||
(insert #\newline))
|
||||
(format-sexp exp))
|
||||
(end-edit-sequence)
|
||||
(lock #t))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user