Skip to content

Commit

Permalink
propagate the result of the code evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
jezhiggins committed Oct 12, 2021
1 parent 5674269 commit 6ce025f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function parseCode(code) {
}

function evaluateCode(code, env) {
evaluate(parse(lex(code)), env)
return evaluate(parse(lex(code)), env)
}

function makeEvaluator() {
Expand Down

0 comments on commit 6ce025f

Please sign in to comment.