aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-10-30 09:22:46 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-10-30 09:23:14 +0100
commit5ffb2c3089bb696c0dd6067fc8f951c030364123 (patch)
treefd01ef27301e57687fe41ee531df7b8edb564324
parent918601d9662ae35712672a3a8b5c2d8e60daa46e (diff)
downloadcuirass-5ffb2c3089bb696c0dd6067fc8f951c030364123.tar
cuirass-5ffb2c3089bb696c0dd6067fc8f951c030364123.tar.gz
bin: Remove redundant lambda.
* bin/cuirass.in (main): Remove redundant lambda wrapping in for-each.
-rw-r--r--bin/cuirass.in3
1 files changed, 1 insertions, 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)))