use + and - as late / early
+ add some extra error handling
This commit is contained in:
parent
9412bf60bf
commit
10ac7c353c
2 changed files with 16 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue