lua-users home
lua-l archive

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


On 21 May 2011 14:35, steve donovan <steve.j.donovan@gmail.com> wrote:
>
> That would be the idea, yes - there is no way to specify the 'type' of
> a return value or a parameter, so one has to document a named type and
> refer to it.

Thanks. In some cases, the very fact that you want to document the
type of a function suggests that it is worth naming (as in the case I
gave of a tree iterator). But I agree too that it should be possible
to describe anonymous, inline table and function types.

-- 
http://rrt.sc3d.org