lua-users home
lua-l archive

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

> Now here is a hypothetical question - if Lua had been statically typed
> language - what would the ideal expression be for this kind of type
> coercion?

If Lua was statically typed, it would know the type of the expression.
Either it has the correct type or the wrong type. In both cases type
coercion seems useless.

-- Roberto