[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: About syntactic sugar v:name(args)
- From: 云风 Cloud Wu <cloudwu@...>
- Date: Wed, 20 Apr 2016 05:20:24 +0000
We know v:name(args) is syntactic sugar for v.name
Could we make this syntactic sugar more flexible ? like this :
Maybe it will be more useful especially when v is an userdata with complex structures.
v.x can be a type object rather than a value belongs to v ( v1.x == v2.x when the type of v1 is the same with v2)