[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to infer the methods/functions in a library
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 4 May 2012 08:44:28 -0300
> lua -e'table.foreach(require "os", print)'
>
> Not as pretty, but it'll work.
Not in Lua 5.2, when you need this:
lua -e'for k,v in pairs(require"os") do print(k,v) end'