summaryrefslogtreecommitdiff
path: root/ccwl
diff options
context:
space:
mode:
Diffstat (limited to 'ccwl')
-rw-r--r--ccwl/ccwl.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/ccwl/ccwl.scm b/ccwl/ccwl.scm
index f9243aa..f193ea9 100644
--- a/ccwl/ccwl.scm
+++ b/ccwl/ccwl.scm
@@ -126,14 +126,14 @@
(()
(condition (ccwl-violation input-spec)
(formatted-message "Input has no identifier")))))))
- (apply (syntax-lambda** (id #:key (type #'File) label (default (make-unspecified-default)) #:key* other)
+ (apply (syntax-lambda** (id #:key (type #'File) label (default (make-unspecified-default)) (other #''()))
(let ((position #f)
(prefix #f))
#`(make-input '#,id '#,type #,label
#,(if (unspecified-default? default)
#'(make-unspecified-default)
default)
- #,position #,prefix '#,other)))
+ #,position #,prefix #,other)))
#'(id args ...))))
(id (identifier? #'id) (input #'(id)))
(_ (error "Invalid input:" (syntax->datum input-spec)))))
@@ -181,8 +181,8 @@
(()
(condition (ccwl-violation output-spec)
(formatted-message "Output has no identifier")))))))
- (apply (syntax-lambda** (id #:key (type #'File) binding source #:key* other)
- #`(make-output '#,id '#,type #,binding #,source '#,other))
+ (apply (syntax-lambda** (id #:key (type #'File) binding source (other #''()))
+ #`(make-output '#,id '#,type #,binding #,source #,other))
#'(id args ...))))
(id (identifier? #'id) (output #'(id)))
(_ (error "Invalid output:" (syntax->datum output-spec)))))
@@ -352,7 +352,7 @@ identifiers defined in the commands."
(condition (ccwl-violation extra)
(formatted-message "Unexpected extra positional argument ~a in command definition"
(syntax->datum extra))))))))
- (apply (syntax-lambda** (#:key stdin stderr stdout #:key* inputs outputs run other)
+ (apply (syntax-lambda** (#:key stdin stderr stdout (other #''()) #:key* inputs outputs run)
(when (null? run)
(raise-exception
(condition (ccwl-violation x)
@@ -381,7 +381,7 @@ identifiers defined in the commands."
(condition (ccwl-violation stdout)
(formatted-message "#:stdout parameter must be a string")))
stdout)
- (list #,@other)))
+ #,other))
#'(args ...)))))))
(define (cwl-workflow file)