- refactor bjork -> bjorklund
- refactor e -> bjork - flip & desugared arguments
This commit is contained in:
parent
b7fa440bda
commit
f33db5f07f
3 changed files with 10 additions and 10 deletions
|
|
@ -165,7 +165,7 @@ export class MondoParser {
|
|||
const op = { type: 'plain', value: children[opIndex].value };
|
||||
const left = children[opIndex - 1];
|
||||
const right = children[opIndex + 1];
|
||||
const call = { type: 'list', children: [op, left, right] };
|
||||
const call = { type: 'list', children: [op, right, left] };
|
||||
// insert call while keeping other siblings
|
||||
children = [...children.slice(0, opIndex - 1), call, ...children.slice(opIndex + 2)];
|
||||
children = this.unwrap_children(children);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue