Re:Haskell RecordDotSyntax language extension proposal (Acce...
by sullyj3 on Monday September 21, 2020 @07:51AM
(#24542216)
The `e.lbl = value` syntax suggests mutation to me, which would be misleading.
[ Parent
| on HN ]
Re:Haskell RecordDotSyntax language extension proposal (Acce...
by pbiggar on Monday September 21, 2020 @10:36AM
(#24543968)
True, and so there might be a need for something like:
e = e.lbl <- value
(I didn't reuse the '=' because two '=' like that looks weird.The main thing I want to address is that a.b.c.d is so much work to write to.