guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Ricardo Wurmus
Date: Wed, 30 Oct 2019 08:02:14 -0400 (EDT)

branch: master
commit 5ffb2c3089bb696c0dd6067fc8f951c030364123
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Oct 30 09:22:46 2019 +0100

    bin: Remove redundant lambda.
    
    * bin/cuirass.in (main): Remove redundant lambda wrapping in for-each.
---
 bin/cuirass.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bin/cuirass.in b/bin/cuirass.in
index 29db4e8..81ce9fe 100644
--- a/bin/cuirass.in
+++ b/bin/cuirass.in
@@ -130,8 +130,7 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" 
"$@"
                                         (lambda ()
                                           (set-current-module 
(make-user-module '()))
                                           (primitive-load specfile)))))
-                        (for-each (lambda (spec) (db-add-specification spec))
-                                  new-specs)))
+                        (for-each db-add-specification new-specs)))
                  (if one-shot?
                      (process-specs (db-get-specifications))
                      (let ((exit-channel (make-channel)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]