Skip to content

Commit 3de99e7

Browse files
author
Johan Wiltink
committed
fix
1 parent 1c0e6e1 commit 3de99e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambda-calculus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class A {
5858
this.left = left;
5959
this.right = right;
6060
}
61-
free() { return union( this.left.free?.() ?? [] , this.right.free?.() ?? [] ); }
61+
free() { return union( this.left.free?.() || [] , this.right.free?.() || [] ); }
6262
toString() {
6363
const left = this.left instanceof L ? `(${this.left})` : this.left ;
6464
const right = this.right instanceof V ? this.right : `(${this.right})` ;

0 commit comments

Comments
 (0)