We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This was a mistake in #233
(let ((x (vector))) (x.push #\x) x)
It's ok for Array::push to unbox the values, and characters can be unboxed to strings.
Array::push
If you want to have character vectors, you can use set-obj! on array.
set-obj!
(let ((x (vector))) (set-obj! x x.length #\x) x)
It should also be documented to be careful with native methods because they always unbox the values.
The text was updated successfully, but these errors were encountered:
unbox characters into strings #329
6599533
No branches or pull requests
This was a mistake in #233
It's ok for
Array::push
to unbox the values, and characters can be unboxed to strings.If you want to have character vectors, you can use
set-obj!
on array.It should also be documented to be careful with native methods because they always unbox the values.
The text was updated successfully, but these errors were encountered: