Nick Coghlan wrote:

> This is exactly what I was trying to get at when I suggested using 
> "tuple[T]" as the notation for an arbitrary length tuple with elements 
> of type T

If tuple[T] is an arbitrary-length tuple, then how
do you spell a 1-tuple with element type T?

 > and "T1, T2" as the notation for a 2-tuple with the first
> element of type T1 and the second element of type T2.

It's been pointed out that making (T1, T2) equivalent to
tuple[T1, T2] leads to an inconsistency. That needs to be
resolved before taking this idea any further.

--
Greg


_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to