On Sat, Feb 05, 2005 at 08:33:25PM +0800, Autrijus Tang wrote:

> With the note that "b" must be evaluated at most once.  However, if
> taken literally, it gives this rather weird result:
> 
>     pugs> ? 2 < (0 | 3) < 4
>     (#t|#t)

Surely you can do better than that for counterintuitive? :-)

4 < (0 | 6) < 2

> My intuition is that it should be equivalent to this:
> 
>     pugs> ? (2 < 0 < 4) | (2 < 3 < 4)
>     (#f|#t)

Which I think would change (#t|#t) to (#f|#f) in my example.

Nicholas Clark

Reply via email to