aboutsummaryrefslogtreecommitdiff
path: root/doc/capture-output-file-with-parameter-reference.scm
diff options
context:
space:
mode:
authorArun Isaac2023-11-18 00:00:45 +0000
committerArun Isaac2023-11-18 00:02:57 +0000
commit52f486fc3855c20f2ef092cdd17437bfc16302f6 (patch)
tree7090a6a515343734a9aef863d9f7a87e0517972d /doc/capture-output-file-with-parameter-reference.scm
parent1345e9492207629430df3fd4951a1c403b39946a (diff)
downloadccwl-52f486fc3855c20f2ef092cdd17437bfc16302f6.tar.gz
ccwl-52f486fc3855c20f2ef092cdd17437bfc16302f6.tar.lz
ccwl-52f486fc3855c20f2ef092cdd17437bfc16302f6.zip
ccwl: Restrict #:binding parameter to YAML serializable trees.
* ccwl/ccwl.scm (ensure-yaml-serializable): Accept parameter name for &formatted-message condition. (input): Explicitly pass parameter name #:other. Restrict #:binding parameter to YAML serializable trees. * doc/capture-output-file-with-parameter-reference.scm (extract-specific-file), doc/capture-output-file.scm (extract), doc/decompress-compile-run.scm (compile): Pass an YAML serializable tree, not an expression, as the #:binding parameter.
Diffstat (limited to 'doc/capture-output-file-with-parameter-reference.scm')
-rw-r--r--doc/capture-output-file-with-parameter-reference.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/capture-output-file-with-parameter-reference.scm b/doc/capture-output-file-with-parameter-reference.scm
index fb32fc8..d9a0217 100644
--- a/doc/capture-output-file-with-parameter-reference.scm
+++ b/doc/capture-output-file-with-parameter-reference.scm
@@ -3,7 +3,7 @@
#:run "tar" "--extract" "--file" archive extractfile
#:outputs (extracted-file
#:type File
- #:binding '((glob . "$(inputs.extractfile)")))))
+ #:binding ((glob . "$(inputs.extractfile)")))))
(workflow ((archive #:type File) (extractfile #:type string))
(extract-specific-file #:archive archive #:extractfile extractfile))