On Monday, 25 March 2013 at 14:20:27 UTC, bearophile wrote: > Andrea Fontana: > >> why not a.length == 0 ? > > a.length == 0 is OK of course, it's the same thing as writing > a.empty. > > Bye, > bearophile Is empty() there just to match range "interface"? length needs no import :)