The rules are that in a record update, neither the record being updated (the 
thing to the left of the bar) nor the field names can have dots in them. In 
order to do nested record updates, you'll have to use `let...in...` to give 
simpler names to all your record's nested fields.

I believe the logic here is that nested records are generally bad design, but 
I'd love to see this explored more, as obviously, in other programming 
languages, we are all quite used to building data types out of other data 
types. Perhaps nested records are OK but trying to update multiple levels of a 
record at once is a sign of bad design?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to