mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
hotfix: lastOf was undefined
This commit is contained in:
@@ -1483,7 +1483,7 @@ export const outside = register('outside', function (factor, f, pat) {
|
||||
* @example
|
||||
* note("c3 d3 e3 g3").lastOf(4, x=>x.rev())
|
||||
*/
|
||||
export const { lastOf } = register('lastOf', function (n, func, pat) {
|
||||
export const lastOf = register('lastOf', function (n, func, pat) {
|
||||
const pats = Array(n - 1).fill(pat);
|
||||
pats.push(func(pat));
|
||||
return slowcatPrime(...pats);
|
||||
|
||||
Reference in New Issue
Block a user