lua-users home
lua-l archive

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


>  Another possibility, which Wim and I discussed at some length a couple
> of years ago (and which recently resurfaced, I believe) is the "in
> <expr> do ... end" statement, which makes <expr> the table for unbound
> variable lookup within the syntactic scope of the do...end clause.

We could write modules like this:

  in module(modname) do
    ...
  end


-- Roberto