aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-11-21 23:32:46 +0000
committerArun Isaac2023-11-21 23:32:46 +0000
commiteaf91f91fd173200ddb65b29bbcfbcab8d2d2cdf (patch)
tree39eed9f4fab4107467995a9a430e16a1f91d4429
parentced4323b796944a8f1929ebae6ed068638732d8f (diff)
downloadccwl-eaf91f91fd173200ddb65b29bbcfbcab8d2d2cdf.tar.gz
ccwl-eaf91f91fd173200ddb65b29bbcfbcab8d2d2cdf.tar.lz
ccwl-eaf91f91fd173200ddb65b29bbcfbcab8d2d2cdf.zip
doc: Update source reference to rename.
* doc/ccwl.skb (Tutorial)[Let's write a spell check workflow]: Update source reference to rename.
-rw-r--r--doc/ccwl.skb10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/ccwl.skb b/doc/ccwl.skb
index bc15c21..bcbb0e1 100644
--- a/doc/ccwl.skb
+++ b/doc/ccwl.skb
@@ -307,11 +307,11 @@ command twice in our workflow. To distinguish the two invocations, CWL
requires us to specify a unique step id for each invocation. We do
this using the second element, ,(code "(sort-words)"). To avoid name
conflicts, we also need to rename the output of the ,(code "sort")
-command. The last step,
-,(source-ref "ccwl/ccwl.scm" "\\(\\(rename" (code "rename")), a
-special ccwl construct that, is used to achieve this. In this case, it
-renames the ,(code "sorted") output of the ,(code "sort") command into
-,(code "sorted-words").]
+command. The last step, ,(source-ref "ccwl/ccwl.scm"
+"\\(\\(rename new-key old-key\\)" (code "rename")), a special ccwl
+construct that, is used to achieve this. In this case, it renames the
+,(code "sorted") output of the ,(code "sort") command into ,(code
+"sorted-words").]
(scheme-source "doc/spell-check-workflow-1.scm"))
(p [Next, we assemble the ,(code "split-dictionary") arm of the