mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-05 14:58:03 -04:00
use set
This commit is contained in:
@@ -593,7 +593,7 @@ export class Pattern {
|
||||
every(n, func) {
|
||||
if (func instanceof Pattern) {
|
||||
const p = func;
|
||||
func = (x) => x.union(p);
|
||||
func = (x) => x.set(p);
|
||||
}
|
||||
const pat = this;
|
||||
const pats = Array(n - 1).fill(pat);
|
||||
|
||||
Reference in New Issue
Block a user