From 8127394c99fbb16aee952e802c7d04c31c282ded Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 17 May 2021 02:23:56 +0530 Subject: Support simpler syntax for inputs with no properties. * ccwl/ccwl.scm (workflow): When input has no properties, support only specifying the symbol. --- ccwl/ccwl.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccwl/ccwl.scm b/ccwl/ccwl.scm index b139289..d57116b 100644 --- a/ccwl/ccwl.scm +++ b/ccwl/ccwl.scm @@ -405,7 +405,8 @@ list of supplied input objects." ((_ inputs tree) (let* ((inputs (map (match-lambda ((id args ...) - (apply input id args))) + (apply input id args)) + (id (input id))) (syntax->datum #'inputs))) (output-keys steps (workflow-steps #'tree (map (compose key input-id) inputs)))) -- cgit v1.2.3