--- a/relpipe-data/examples-guile-projections.xml Sat Sep 12 13:20:21 2020 +0200
+++ b/relpipe-data/examples-guile-projections.xml Fri Sep 25 14:38:24 2020 +0200
@@ -2,14 +2,14 @@
xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana"
xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro">
- <nadpis>Doing projections with Guile</nadpis>
+ <nadpis>Doing projections with Scheme</nadpis>
<perex>modifying attribute values and adding new attributes or removing them</perex>
<m:pořadí-příkladu>01500</m:pořadí-příkladu>
<text xmlns="http://www.w3.org/1999/xhtml">
<p>
- The <code>relpipe-tr-guile</code> can not only filter records,
+ The <code>relpipe-tr-scheme</code> can not only filter records,
but can also modify them and even modify the structure of the relation – add or remove attributes.
</p>
@@ -55,11 +55,11 @@
<h2>Modifying attribute values</h2>
<p>
- Then, we can modify such relation using Guile – e.g. we can make the <code>name</code> uppercase and increase <code>id</code> by 1000:
+ Then, we can modify such relation using Scheme – e.g. we can make the <code>name</code> uppercase and increase <code>id</code> by 1000:
</p>
<m:pre jazyk="bash"><![CDATA[sample-data \
- | relpipe-tr-guile \
+ | relpipe-tr-scheme \
--relation n \
--for-each '(set! $name (string-upcase $name) ) (set! $id (+ $id 1000) )' \
| relpipe-out-tabular]]></m:pre>
@@ -85,7 +85,7 @@
</p>
<m:pre jazyk="bash"><![CDATA[sample-data \
- | relpipe-tr-guile \
+ | relpipe-tr-scheme \
--relation n \
--for-each '(set! $name (string-upcase $name) ) (set! $id (+ $id 1000) )' \
--output-attribute 'id' integer \
@@ -112,7 +112,7 @@
</p>
<m:pre jazyk="bash"><![CDATA[sample-data \
- | relpipe-tr-guile \
+ | relpipe-tr-scheme \
--relation n \
--for-each '(define $sum (+ $a $b $c) )' \
--output-attribute 'sum' integer \
@@ -144,7 +144,7 @@
</p>
<m:pre jazyk="bash"><![CDATA[sample-data \
- | relpipe-tr-guile \
+ | relpipe-tr-scheme \
--relation n \
--for-each '(define $id (string-upcase $name) )' \
--output-attribute 'id' string \
@@ -176,7 +176,7 @@
</p>
<m:pre jazyk="bash"><![CDATA[sample-data \
- | relpipe-tr-guile \
+ | relpipe-tr-scheme \
--relation n \
--for-each '(set! $name (string-upcase $name) ) (set! $id (+ $id 1000) )' \
--output-attribute 'id' integer \