[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA4.0 : Bug with maths
- From: "paulmatthews" <paulmatthews@...>
- Date: Sun, 10 Feb 2002 23:16:57 -0000
> Indeed, as I pointed out earlier, giving only lt doesn't work for
> partial orders. You need 'le' instead (or as well).
>
How about 'cmp' returning -1,0,1 or nil. This would mean
that 'le', 'ge', 'lt' etc can all be defined in terms of 'cmp'. I'm
assuming here that the boolean type is changed has values of 0,1 or
nil.
[ You probably noticed I need support for ternary logic in my
application! ]
--
Paul Matthews