Skip to content

Commit a17bf4e

Browse files
committed
Inline wrap
1 parent d33527a commit a17bf4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lambda-calculus.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,7 @@ function parseWith(cfg={}) {
300300
const [i,r] = defn(0);
301301
if ( i===code.length ) {
302302
const [name,term] = r;
303-
const wrapped = wrap(name,term);
304-
return env.setThunk( name, wrapped);
303+
return env.setThunk( name, wrap(name,term));
305304
} else
306305
error(i,"defn: incomplete parse");
307306
}

0 commit comments

Comments
 (0)