Modify extend to better match behavior of ! operator

This commit is contained in:
JoStro
2025-07-01 22:02:54 +01:00
parent caf6686d01
commit f5ae50c3ce
+1 -1
View File
@@ -2928,7 +2928,7 @@ export const drop = stepRegister('drop', function (i, pat) {
* ).pace(8)
*/
export const extend = stepRegister('extend', function (factor, pat) {
return pat.fast(factor).expand(factor);
return pat.repeatCycles(factor).fast(factor).expand(factor);
});
/**