|
|
| Author |
Message |
|
| Guest |
Posted: Tue Jun 12, 2007 9:30 am |
|
|
|
Guest
|
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@hio.jp>
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Thu Jun 14, 2007 1:24 pm |
|
|
|
Guest
|
Hi, all.
In addition to previous,
this one extends another syntax,
``Data#type1.field1#type2{ field2 = value2 }.''
Regards.
On Tue, 12 Jun 2007 18:27:53 +0900
YAMASHINA Hio <hio@hio.jp> wrote:
>
> 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@hio.jp>
>
--
YAMASHINA Hio <hio@hio.jp>
http://fleur.hio.jp/erlang/
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|