- refactor bjork -> bjorklund

- refactor e -> bjork
- flip & desugared arguments
This commit is contained in:
Felix Roos 2025-10-07 22:35:29 +02:00
parent b7fa440bda
commit f33db5f07f
No known key found for this signature in database
3 changed files with 10 additions and 10 deletions

View file

@ -11,7 +11,7 @@ import {
chooseIn,
degradeBy,
silence,
e,
bjork,
} from '@strudel/core';
import { registerLanguage } from '@strudel/transpiler';
import { MondoRunner } from 'mondolang';
@ -41,7 +41,7 @@ lib['!'] = extend;
lib['@'] = expand;
lib['%'] = pace;
lib['?'] = degradeBy; // todo: default 0.5 not working..
lib['&'] = (a, b) => a.e(b);
lib['&'] = bjork;
lib[':'] = tail;
lib['..'] = range;
lib['def'] = () => silence;