Skip to content
New issue

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

Make Str, Int and Num all immutable #101

Open
stevan opened this issue May 4, 2013 · 0 comments
Open

Make Str, Int and Num all immutable #101

stevan opened this issue May 4, 2013 · 0 comments

Comments

@stevan
Copy link
Member

stevan commented May 4, 2013

This falls under the "what would Perl 6 do" umbrella. This means removing the increment operators (people can use regular old addition instead), and making Str.chop and Str.chomp return new strings rather then alter in place. This will remove all usage of MoeNativeObject.setNativeValue except for Array.bind_pos, which uses it to autogrow the array size (should look in the docs and see if this can be done another way).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant