lua-users home
lua-l archive

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


> What about my suggestion of an le fallback? (In brief: an le fallback is
> sufficient for partial ordering; [...]

Do you mean the following rule?

  a < b   <==>   a <= b and not b <= a

I really don't like the idea of calling a method twice for each
comparison...

Or you are proposing to have both a 'le' and a 'lt' fallbacks (in a way
that you can have only one of them when you don't need the "partial"
stuff)?

-- Roberto