Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/test/core/vector/length.xml20
-rw-r--r--core/vector/filter.xml4
-rw-r--r--core/vector/fold.xml2
-rw-r--r--core/vector/interpolate.xml4
-rw-r--r--core/vector/length.xml6
-rw-r--r--core/vector/list.xml2
-rw-r--r--core/vector/minmax.xml10
-rw-r--r--core/vector/table.xml16
8 files changed, 32 insertions, 32 deletions
diff --git a/core/test/core/vector/length.xml b/core/test/core/vector/length.xml
index 607d0eb..761c1b1 100644
--- a/core/test/core/vector/length.xml
+++ b/core/test/core/vector/length.xml
@@ -53,7 +53,7 @@
<t:given>
<c:length-of>
<t:first-nonempty>
- <c:set />
+ <c:vector />
</t:first-nonempty>
</c:length-of>
</t:given>
@@ -74,8 +74,8 @@
<t:given>
<c:length-of>
<t:first-nonempty>
- <c:set />
- <c:set />
+ <c:vector />
+ <c:vector />
</t:first-nonempty>
</c:length-of>
</t:given>
@@ -96,10 +96,10 @@
<t:given>
<c:car>
<t:first-nonempty>
- <c:set />
- <c:set>
+ <c:vector />
+ <c:vector>
<c:const value="50" desc="Non-empty vector" />
- </c:set>
+ </c:vector>
</t:first-nonempty>
</c:car>
</t:given>
@@ -120,12 +120,12 @@
<t:given>
<c:car>
<t:first-nonempty>
- <c:set>
+ <c:vector>
<c:const value="60" desc="Non-empty vector" />
- </c:set>
- <c:set>
+ </c:vector>
+ <c:vector>
<c:const value="70" desc="Non-empty vector" />
- </c:set>
+ </c:vector>
</t:first-nonempty>
</c:car>
</t:given>
diff --git a/core/vector/filter.xml b/core/vector/filter.xml
index 2b8f150..c662d95 100644
--- a/core/vector/filter.xml
+++ b/core/vector/filter.xml
@@ -170,7 +170,7 @@
</c:when>
<!-- empty set -->
- <c:set />
+ <c:vector />
</c:case>
<!-- if the data is sequential and the next element is over the
@@ -183,7 +183,7 @@
</c:when>
<!-- empty set -->
- <c:set />
+ <c:vector />
</c:case>
diff --git a/core/vector/fold.xml b/core/vector/fold.xml
index 3582198..c478971 100644
--- a/core/vector/fold.xml
+++ b/core/vector/fold.xml
@@ -121,7 +121,7 @@
</c:case>
<c:otherwise label="Ignore on class vector non-match">
- <c:set />
+ <c:vector />
</c:otherwise>
</c:cases>
</c:sum>
diff --git a/core/vector/interpolate.xml b/core/vector/interpolate.xml
index d12d6c3..f8887ba 100644
--- a/core/vector/interpolate.xml
+++ b/core/vector/interpolate.xml
@@ -72,10 +72,10 @@
</c:gt>
</c:when>
- <c:set label="Re-ordered set such that the lower value is first in the vector">
+ <c:vector label="Re-ordered set such that the lower value is first in the vector">
<c:value-of name="b" />
<c:value-of name="a" />
- </c:set>
+ </c:vector>
</c:case>
<!-- already ordered -->
diff --git a/core/vector/length.xml b/core/vector/length.xml
index 68637c9..636c523 100644
--- a/core/vector/length.xml
+++ b/core/vector/length.xml
@@ -45,9 +45,9 @@
<!-- avoid having to copy @values@ multiple times -->
<c:value name="_list" type="float"
desc="Result of body expression">
- <c:set>
+ <c:vector>
<param-copy name="@values@" />
- </c:set>
+ </c:vector>
</c:value>
</c:values>
@@ -106,7 +106,7 @@
</c:gte>
</c:when>
- <c:set />
+ <c:vector />
</c:case>
<!-- non-empty vector, return it -->
diff --git a/core/vector/list.xml b/core/vector/list.xml
index eafbbdc..cf7008a 100644
--- a/core/vector/list.xml
+++ b/core/vector/list.xml
@@ -83,7 +83,7 @@
</if>
<unless name="@base@">
<!-- return an empty set -->
- <c:set />
+ <c:vector />
</unless>
</c:case>
diff --git a/core/vector/minmax.xml b/core/vector/minmax.xml
index 5fa1239..4d20eea 100644
--- a/core/vector/minmax.xml
+++ b/core/vector/minmax.xml
@@ -37,7 +37,7 @@
desc="Reduce a set to its maximum">
<param name="@values@" desc="Values to reduce" />
<param name="@isvector@" desc="Set to 'true' if the nodes should
- not be wrapped in c:set" />
+ not be wrapped in c:vector" />
<param name="@label@" desc="Application label">
<!-- default empty -->
@@ -50,9 +50,9 @@
<!-- if we were not provided with a vector (default), create
one out of the given nodes -->
<unless name="@isvector@" eq="true">
- <c:set>
+ <c:vector>
<param-copy name="@values@" />
- </c:set>
+ </c:vector>
</unless>
<!-- if they told us that they have provided a vector, then
@@ -226,9 +226,9 @@
<rate-each class="@class@" accumulate="none" yields="@yields@" generates="@generates@" index="@index@">
<c:apply name="maxreduce">
<c:arg name="maxreduce_set">
- <c:set>
+ <c:vector>
<param-copy name="@values@" />
- </c:set>
+ </c:vector>
</c:arg>
</c:apply>
</rate-each>
diff --git a/core/vector/table.xml b/core/vector/table.xml
index 38dc0f7..96b2517 100644
--- a/core/vector/table.xml
+++ b/core/vector/table.xml
@@ -320,11 +320,11 @@
</c:arg>
<c:arg name="criteria">
- <c:set>
+ <c:vector>
<param-copy name="@values@">
<param-meta name="table_basename" value="@matrix@" />
</param-copy>
- </c:set>
+ </c:vector>
</c:arg>
<c:arg name="i">
@@ -332,11 +332,11 @@
will be applied *last* -->
<t:dec>
<c:length-of>
- <c:set>
+ <c:vector>
<param-copy name="@values@">
<param-meta name="table_basename" value="@matrix@" />
</param-copy>
- </c:set>
+ </c:vector>
</c:length-of>
</t:dec>
</c:arg>
@@ -367,7 +367,7 @@
<text>_IS_SEQ</text>
</param>
- <c:set label="Conditional for {@field@}">
+ <c:vector label="Conditional for {@field@}">
<!-- the first element will represent the column (field) index -->
<unless name="@name@">
<c:const value="@id@" type="integer" desc="Field index" />
@@ -377,9 +377,9 @@
</if>
<!-- the second element will represent the expected value(s) -->
- <c:set>
+ <c:vector>
<param-copy name="@values@" />
- </c:set>
+ </c:vector>
<!-- the final element will represent whether or not this field is sequential -->
<if name="@sequential@">
@@ -396,7 +396,7 @@
<c:value-of name="FALSE" />
</unless>
</unless>
- </c:set>
+ </c:vector>
</template>