lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 27 March 2015 at 10:42, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
> I'm not sure how this is relevant for my use-case, where the annotation
> should somehow guide/modify the runtime behaviour of the annotated entity
> (be it a table, a function, a variable, etc).
>
> best,
> valerio

Just pass your object through a function: the wonders of first class
functions! :)
For tables and strings the lack of required () make it quite pleasant to the eye