[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Documenting Lua gotchas for newbies.
- From: HyperHacker <hyperhacker@...>
- Date: Sun, 5 Dec 2010 18:50:43 -0700
On Sun, Dec 5, 2010 at 16:28, David Kastrup <dak@gnu.org> wrote:
> Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:
>
>> Another common mistake, although for some reason it has become less
>> common recently, is to think that loading a chunk creates its functions.
>> (You have to run the chunk to create them.)
>
> To create them or to assign them to their variable?
>
> --
> David Kastrup
>
>
>
One thing that often trips me up is the contexts in which ... or a
function call will expand to all values or just one. I often want to
do something like f(1, ..., 0).
--
Sent from my toaster.