-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
Support iter_mut()
for FlatArray<'mcx, T: Sized>
?
#1642
Comments
@my-vegetable-has-exploded It is not possible for all T. Some T are unsized so you cannot iteratively mutate them in a sensible way. And it is not currently possible at all for |
@my-vegetable-has-exploded I'm curious what kind of mutation you were hoping to do, exactly? It might be better for this to be modeled via an |
My goal is to write a aggregate function |
Ah okay, so you want integers and floats. Sure! |
iter_mut()
for FlatArray<'mcx, T: Sized>
?
Hm. Something that looks like "mutable iteration" of |
Sorry, I don't quite sure the point of this paragraph. If there is anything I can do to help, please tell me. |
I think it is helpful to support
iter_mut()
forpgrx::Array
.For aggregate state including
pgrx::Array
, supportiter_mut()
forpgrx::Array
will make it possible to reuse to old state.The text was updated successfully, but these errors were encountered: