don't need map here, for-each is enough

This commit is contained in:
2025-06-09 00:27:21 +03:00
parent 0d72b1950d
commit 839a6cb350

View File

@@ -85,10 +85,10 @@
(read-forms (cons r acc)))))
(define (emit-c forms)
(map (lambda (form)
(fmt #t (c-expr form))
(fmt #t "\n"))
forms))
(for-each (lambda (form)
(fmt #t (c-expr form))
(fmt #t "\n"))
forms))
;;; Main function facilities