This commit is contained in:
alex
2023-01-10 11:16:43 +00:00
parent bde7e79a38
commit afa5d6e704
+2 -2
View File
@@ -1569,13 +1569,13 @@ export const outside = register('outside', function (factor, f, pat) {
*/
export const lastOf = register('lastOf', function (n, func, pat) {
const pats = Array(n - 1).fill(pat);
// It seems we have a pattern, but with a 'compose' function, let's
// use that
if ('__compose' in func) {
func = func.__compose;
}
pats.push(func(pat));
return slowcatPrime(...pats);
});