> > This kind of clever magic always makes me nervous:
> > it introduces subtle bug potentials.
> >
> >   (7,8,9) == 3 # true
> >   (7,8)   == 2 # true
> >   (7)     == 1 # false
> >   ()      == 0 # true?
> 
> I believe the last two cases should be:
> 
>     (7,)    == 1
>     (,)     == 0
> 
> Because its the perl6 comma that creates the list, not the parenthesis.
> 
> ~ John Williams

If this is the case, then can you also have:

 (,7)

What is its length?

Tanton

Reply via email to