[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Function arguments in luadoc
- From: Reuben Thomas <rrt@...>
- Date: Sat, 21 May 2011 14:40:41 +0100
On 21 May 2011 14:35, steve donovan <email@example.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.