use + and - as late / early

+ add some extra error handling
This commit is contained in:
Felix Roos 2025-06-18 22:07:16 +02:00
parent 9412bf60bf
commit 10ac7c353c
No known key found for this signature in database
2 changed files with 16 additions and 3 deletions

View file

@ -27,7 +27,8 @@ let nope = (...args) => args[args.length - 1];
let lib = {};
lib['nope'] = nope;
lib['-'] = silence;
lib['-'] = (a, b) => b.early(a);
lib['+'] = (a, b) => b.late(a);
lib['_'] = silence;
lib['~'] = silence;
lib.curly = stepcat;