lua-users home
lua-l archive

Re: debug.protoid(f) ? (Re: Type annotations for lua)

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


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

AltStyle によって変換されたページ (->オリジナル) /