Steve Holden <[EMAIL PROTECTED]> writes: > > The current list function is supposed to be something like a > > typecast: > > > list() isn't a function, it's a type.
I'm not sure what the distinction is supposed to be. "list" is anyway callable, and lambda a:list(a) is certainly a function. > > xlist((1,2)) = [(1,2)] > > etc. > > I presume that here "=" means "evaluates to"? Yeah, although I meant something more informal, like mathematical equivalence. Maybe the preferred spellings for the constructors would use capital letters: List, Dict, Set, instead of listx or xlist or whatever. That would break the current meaning of Set but I hope not much depends on that yet. -- http://mail.python.org/mailman/listinfo/python-list