diff -r d4c2968a391f -r d7ae02390fac relpipe-data/examples-guile-multiple-relations.xml --- a/relpipe-data/examples-guile-multiple-relations.xml Sat Sep 12 13:20:21 2020 +0200 +++ b/relpipe-data/examples-guile-multiple-relations.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"> - Processing multiple relations with Guile + Processing multiple relations with Scheme filter some relations and others keep unaffected 01800

- The relpipe-tr-guile is capable to process multiple relations in a single pass. + The relpipe-tr-scheme is capable to process multiple relations in a single pass. So we can filter some relations and let others flow unaffected through this pipeline step.

@@ -21,9 +21,9 @@ # put them together in a single stream function: sample-data() { r1; r2; r3; } -# let them flow through our Guile transformation: +# let them flow through our Scheme transformation: sample-data \ - | relpipe-tr-guile \ + | relpipe-tr-scheme \ --relation fstab \ --where '(or (string= $type "btrfs") (string-prefix? "/mnt/" $mount_point) )' \ --relation filesystem \ @@ -74,7 +74,7 @@

- In Guile, we have filtered the fstab and filesystem relations + In Scheme, we have filtered the fstab and filesystem relations while the seq relation was kept intact.

@@ -85,7 +85,7 @@

- If we define some variables in the Guile context, they will stay there – so we can pass data across relations. + If we define some variables in the Scheme context, they will stay there – so we can pass data across relations. Thus we can do even JOIN, if we really want.