Skip to content

Commit

Permalink
make it so that each arg in native println results in single line ins…
Browse files Browse the repository at this point in the history
…tead of new line
  • Loading branch information
nulluser0 committed Jun 18, 2024
1 parent 7f5b0e9 commit d086971
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/native_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ pub fn native_println(
.into_iter()
.map(|expr| evaluate_expr(expr, env, root_env))
.collect();

for arg in evaluated_args {
println!("{}", arg);
print!("{}", arg);
}
println!();
mk_null!()
}

Expand Down

0 comments on commit d086971

Please sign in to comment.