4 ms·
Not being able to store mutable ref in other type reduces expressiveness. The doc already mentions it cannot allow Iterator that doesn't consume container http
by delifue 9mo ago
Not being able to store mutable ref in other type reduces expressiveness. The doc already mentions it cannot allow Iterator that doesn't consume container
https://github.com/rue-language/rue/blob/trunk/docs/designs/adr-015-mutable-value-semantics.md#patterns-that-change https://github.com/rue-language/rue/blob/trunk/docs/designs/...
No silver bullet again
- steveklabnik 9mo agoJust to be clear, these proposals are basically scratch notes I have barely even validated, I just wanted to be able to iterate on some text. But yes, there is going to inherently be some expressiveness loss. There is no silver bullet, that's right. The idea is, for some users, they may be okay with that loss to gain other things.
- steveklabnik 9mo agoFor future readers, please use this link: https://github.com/rue-language/rue/blob/b0867ccff77ee9957d6a0df3eedcfbba1194a7ff/docs/designs/adr-015-mutable-value-semantics.md#patterns-that-change https://github.com/rue-language/rue/blob/b0867ccff77ee9957d6... I am going to be cleaning these up, as they don't necessarily represent things I actually want to do in this exact way. My idea was to dump some text and iterate on them, but I think that's actually not great given some other process changes I'm making, so I want to start fresh.