[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA4.0 : Bug with maths
- From: Roberto Ierusalimschy <rieru@...>
- Date: Tue, 12 Feb 2002 11:21:56 -0600 (CST)
On Tue, 12 Feb 2002 RLake@oxfam.org.uk wrote:
> [...] suppose I'm writing a library which
> defines a predicate function P. What value should P return if the predicate
> is not true, false or nil?
That depends on the kind of logic you are using. If we can assume that
not true is false (an old-style, outdated 2-value logic??) then any
predicate should return only true/false.
-- Roberto