lua-users home
lua-l archive

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


Steve Donovan wrote:
 function foobar(x,y)
    assert(String(x))
    assert(MyClass(y))
    ...
end

Something along those lines is good (and necessary, for
overloading) but it doesn't entirely tickle my fancy in terms
of syntax... it looks too much like the natural syntax for
constructors.

--adam