On Monday, 16 December 2013 at 21:13:58 UTC, bearophile wrote:

It also helps in the D translation of Python expressions like:

if foo() and 3 < bar(x) < 5 and ...:

Not really, it uses "<=" which illustrates why it is better to use lambdas where a named function hides what goes on and there are several interpretations.

Besides, in many algos you want "low <= x < hi" or the opposite to avoid double-hits on edge-cases.

Reply via email to