Use E instead of destructuring for v{u,e} functions
This also has an added benefit: that it's ES5-compatible. Aside from the arrow functions that need to be removed in future commits.master
parent
cfbdc35a55
commit
3a6695c873
|
@ -735,7 +735,7 @@
|
||||||
</when>
|
</when>
|
||||||
|
|
||||||
<otherwise>
|
<otherwise>
|
||||||
<sequence select="concat( '[', $yield-to, ',', $var, ']=v', $ctype, '([',
|
<sequence select="concat( $var, '=E(', $yield-to, '=v', $ctype, '([',
|
||||||
string-join(
|
string-join(
|
||||||
for $v in $vectors
|
for $v in $vectors
|
||||||
return compiler:match-name-on( $symtable-map, $v ),
|
return compiler:match-name-on( $symtable-map, $v ),
|
||||||
|
@ -744,7 +744,7 @@
|
||||||
for $v in $vectors
|
for $v in $vectors
|
||||||
return compiler:match-value( $symtable-map, $v ),
|
return compiler:match-value( $symtable-map, $v ),
|
||||||
','),
|
','),
|
||||||
']);' )" />
|
']));' )" />
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
</when>
|
</when>
|
||||||
|
@ -1588,7 +1588,7 @@
|
||||||
base
|
base
|
||||||
);
|
);
|
||||||
|
|
||||||
return [result, result.some(s => s === 1)];
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ve(vs, cmps)
|
function ve(vs, cmps)
|
||||||
|
@ -1601,7 +1601,7 @@
|
||||||
base
|
base
|
||||||
);
|
);
|
||||||
|
|
||||||
return [result, result.some(s => s === 1)];
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue