-
Notifications
You must be signed in to change notification settings - Fork 7
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
Provide Mutable and Immutable Utypes #16
Comments
The idea behind is that since they are boxed, in this way it is possible to offer a way to avoid a new instantiation. The thing I dislike about What about using instead some read-only interface? A concept that for example is used by joml |
I've checked Now we have to find somebody who will implement it :) |
There are experimental unsigned types in Koltin 1.3. And they support immutability via |
Yep, thank you for assisting so far 👍 Ps: I'm also tempted to switch to the lib, but my biggest problem is that unsigned doesnt extend |
Actually, my biggest problem now is that the lib doesn't provide |
Well, you know you can easily implement that here :p Anyway, I voted your issue, maybe it'll get implemented sooner or later I see you also mention the
|
Now we can change
var v
so evenval Utype
is mutable. What about renaming currenty Utypes to MutableUtypes (like in Kotlin Notation) and providing Utypes withval
that will be truly immutable? I will use those immutable classes.The text was updated successfully, but these errors were encountered: