[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Packaging and importing
 
- From: Rici Lake <lua@...>
 
- Date: Mon, 15 Aug 2005 16:03:54 -0500
 
On 15-Aug-05, at 3:30 PM, Diego Nehab wrote:
People would still write
    socket = require"socket"
instead of
    local socket = require"socket"
Not if all the examples they saw had the second construction, I suspect.
I like Mark's idea of autoloading modules for the stand-alone 
interpreter, for what it's worth.
Question: should we start recommending that people use require for 
standard libraries, too? :
local math = require "math"
I'd personally like to move in that direction...
R.