mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-27 23:38:49 -04:00
reify arguments of stepcat
This commit is contained in:
@@ -2720,6 +2720,7 @@ export function stepcat(...timepats) {
|
||||
return nothing;
|
||||
}
|
||||
const findsteps = (x) => (Array.isArray(x) ? x : [x._steps, x]);
|
||||
timepats = timepats.map(reify);
|
||||
timepats = timepats.map(findsteps);
|
||||
if (timepats.find((x) => x[0] === undefined)) {
|
||||
const times = timepats.map((a) => a[0]).filter((x) => x !== undefined);
|
||||
|
||||
Reference in New Issue
Block a user