[erlang-patches] patch for better record syntax.

YAMASHINA Hio hio@REDACTED
Tue Jun 12 11:27:53 CEST 2007


Hi, all.

When we today want to extract a value which lies deep in a complex
object, we have to say like:
``((Data#type1.field1)#type2.field2)#type3.field3''
but it looks ugly.

I suggest more straightforward syntax:
``Data#type1.field1#type2.field2#type3.field3.''

Attached patch implements this.


Regards.

-- 
YAMASHINA Hio <hio@REDACTED>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: record.patch
Type: application/octet-stream
Size: 635 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20070612/d8c7f1dd/attachment.obj>


More information about the erlang-patches mailing list