From 17a76711d1f9bdaad133c9364a9bfd2ef10b8f22 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 9 Oct 2023 20:28:31 +0100 Subject: ccwl: Allow literals as arguments. * ccwl/ccwl.scm ()[set-input-default]: New setter. * ccwl/ccwl.scm ()[set-command-inputs]: Add setter. * ccwl/ccwl.scm (apply-partially): New function. (collect-steps): Support literal strings as arguments. * tests/ccwl.scm ("allow literal strings as arguments"): New test. * .dir-locals.el (scheme-mode): Indent set-command-inputs and set-input-default. --- tests/ccwl.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/ccwl.scm b/tests/ccwl.scm index 219e3f7..af76372 100644 --- a/tests/ccwl.scm +++ b/tests/ccwl.scm @@ -163,4 +163,8 @@ #:message message))) #f))) +(test-assert "allow literals as arguments" + (workflow () + (print #:message "Hello"))) + (test-end "ccwl") -- cgit v1.2.3