lua-users home
lua-l archive

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


> One problem with that syntax is that if we want the `func {}` syntax to work with frozen tables, we would need to express that as `func *{}`…which can't be told apart from multiplying func by a (mutable) empty table. I do like the idea of a sigil though. Currently out of the US keyboard, we aren't using !, @, $, ^, &, |, ?, and ~ as binary operators. Unfortunately I don't really like the aesthetics of any of them.

Indeed, too bad the US keyboard offers what it does. Otherwise ♾ would
be awesome :-)