We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c0e6e1 commit 3de99e7Copy full SHA for 3de99e7
src/lambda-calculus.js
@@ -58,7 +58,7 @@ class A {
58
this.left = left;
59
this.right = right;
60
}
61
- free() { return union( this.left.free?.() ?? [] , this.right.free?.() ?? [] ); }
+ free() { return union( this.left.free?.() || [] , this.right.free?.() || [] ); }
62
toString() {
63
const left = this.left instanceof L ? `(${this.left})` : this.left ;
64
const right = this.right instanceof V ? this.right : `(${this.right})` ;
0 commit comments