Skip to content

Commit

Permalink
Refactoring or tiny optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
tadd committed Feb 21, 2025
1 parent 65f1be0 commit 0bb86ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ static Value named_let(Value *env, Value var, Value bindings, Value body)
Value args = map_eval(env, symargs);
Value letenv = *env;
define_variable(&letenv, var, proc);
return apply(&letenv, proc, args);
return apply_closure(&letenv, proc, args);
}

//PTR
Expand Down

0 comments on commit 0bb86ad

Please sign in to comment.