4 ms·
I like Elm but there are some things that would make life easier and not add much cognitive overhead, like updating nested records for instance. The current syn
by eweise 3y ago
I like Elm but there are some things that would make life easier and not add much cognitive overhead, like updating nested records for instance. The current syntax wouldn't even need to change.
- Skeime 3y agoIt’s even worse as you cannot even update a record if it has a qualified name. { Module.record | field = value } is not allowed. So either, you need to import record unqualified, or you need a let construction. I somewhat get the restriction on nested updates (though I don’t agree with it), but I absolutely do not understand this.