4 ms·
As the sibling commenter says, maybe it’s worth reconsidering the approach somewhat? As in, I do get the reasoning, but there are valid situations where one mi
by jgilias 3y ago
As the sibling commenter says, maybe it’s worth reconsidering the approach somewhat?
As in, I do get the reasoning, but there are valid situations where one might need to do this for their own reasons. So maybe there’s some way to make it clear that you shouldn’t be doing this, yet still narrowly allow it. A non-default CLI flag, a scary compilation warning, maybe needs to use some special keyword to use code like that. Like how you need to use ‘unsafe’ in Rust to interact with C code directly.
Otherwise, thank you for working on this! An Elm inspired language that’s open to community development is something the world needed :-D
- Skinney 3y agoYeah. I understand the need for this, but I’m also very hessitant to break guarantees on mutation and other side effects. It’s a tricky problem. It will be looked at pre 1.0.