I think Ulf's idea is solid - it would also allow one to set several fields at once.<br>In any case, ANYTHING that will make record access more terse (and "sane":) ) is welcome :).<br><br><br><div><span class="gmail_quote">
On 10/12/06, <b class="gmail_sendername">Yariv Sadan</b> <<a href="mailto:yarivvv@gmail.com">yarivvv@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>><br>>    NewProject = Project.owner.address{city = "Boston"}<br><br>The above statement results in an invalid syntax error when I try to<br>parse it with io:parse_erl_expr. It clearly doesn't conflict with the
<br>Erlang syntax, but the existing Erlang parser doesn't allow it. Any<br>other ideas?<br><br>Thanks<br>Yariv<br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">
erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>