[investment-lots] tidier cons instead of append

(append (list new-item) (map...)) is more succinctly formed as
(cons new-item (map...))
This commit is contained in:
Christopher Lam 2022-12-24 22:13:24 +08:00
parent d928ed4ada
commit c21aecccc5

View File

@ -1396,10 +1396,8 @@
unassigned-split-count)))
((list)
(append
(list
(format #f (G_ "Warning: The following ~a split(s) are not assigned to a lot. Do lots need to be scrubbed?")
unassigned-split-count))
(cons
(format #f (G_ "Warning: The following ~a split(s) are not assigned to a lot. Do lots need to be scrubbed?") unassigned-split-count)
;; Also list out the unassigned splits.
(map (lambda (split)