lua-users home
lua-l archive

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


> OK, but keep your hands off of == !

Fair enough.

> It's not 100% clear to me that it's appropriate to redefine < as a partial
> ordering, but that's a question of style. One might want operators
> available to express partial ordering (<· ·> ·=· suggest themselves) but I
> guess that's inappropriate in the Lua context.

I'm not suggesting anything of the sort. I'm just suggesting that the
tagmethods and their rules should be made to work for partial orders, so
one can use the nice syntax for things like subsets.

-- 
http://sc3d.org/rrt/
L'art des vers est de transformer en beautés les faiblesses (Aragon)