core: Replace all occurrences of c:{set=>vector}

The former is deprecated and never made any sense at all.
master
Mike Gerwitz 2019-01-30 16:32:51 -05:00
parent b725963722
commit 73d691273e
8 changed files with 32 additions and 32 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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 -->

View File

@ -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 -->

View File

@ -83,7 +83,7 @@
</if>
<unless name="@base@">
<!-- return an empty set -->
<c:set />
<c:vector />
</unless>
</c:case>

View File

@ -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>

View File

@ -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>