lua-users home
lua-l archive

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


On Sun, Feb 24, 2013 at 4:34 PM, Miles Bader <miles@gnu.org> wrote:
> [To be honest, the "minimalist default" style seems vastly more clear
> than this wacky Frankenstein thing you've been putting forward, and
> not particularly verbose...]

I'm generally a fan of the minimalist style, since I'm a recovering
former magic user.

But James' suggestion is not harmful, and some would like it;  I don't
think he's suggesting that this should be the 5.3 equivalent of
module().

import {
   lpeg = "lpeg",
   path = "pl.path",
   "math","table"
 }

That seems pretty clear enough - the only problem I have with it is
that it's a magical environment technique, but that's a personal
preference.  Main thing however is that this all can be done in plain
Lua and therefore becomes a choice.

steve d.