progress: 'progress-reporter-report!' takes any number of arguments.
* guix/progress.scm (progress-reporter-report!): Accept an arbitrary number of arguments and pass them to REPORT.master
parent
2e3a6250f8
commit
cfe19684ea
|
@ -70,11 +70,11 @@ stopped."
|
|||
(($ <progress-reporter> start report stop)
|
||||
(start))))
|
||||
|
||||
(define (progress-reporter-report! reporter)
|
||||
(define (progress-reporter-report! reporter . args)
|
||||
"Low-level procedure to lead REPORTER to emit a report."
|
||||
(match reporter
|
||||
(($ <progress-reporter> start report stop)
|
||||
(report))))
|
||||
(apply report args))))
|
||||
|
||||
(define (stop-progress-reporter! reporter)
|
||||
"Low-level procedure to stop REPORTER."
|
||||
|
|
Reference in New Issue