Re: debug.protoid(f) ? (Re: Type annotations for lua)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: debug.protoid(f) ? (Re: Type annotations for lua)
- From: nobody <nobody+lua-list@...>
- Date: 2023年5月13日 04:11:24 +0200
On 2023年05月13日 04:07, nobody wrote:
function newCounter( )
return function( ) i = i + 1 ; return i end
end
It's late and I dropped the `local i = 0` twice -.- but you get the idea…
-- nobody