I was just reading past threads with proposals for new record-updating
syntax. I'm curious, does anyone know why the following update syntax is
problematic, or a good way to find out if it's problematic?
record =
{ a = 0
, b = { c = 0 }
, d = { e = { f = 0 } } }
, g = 0
}
newRecord =
{ record
| a = 1
, b.c = 2
, d.e.f = doSomething record.d.e.f
}
--
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.