[svn:perl6-synopsis] r13480 - doc/trunk/design/syn

2006-11-23 Thread larry
Author: larry Date: Thu Nov 23 08:46:49 2006 New Revision: 13480 Modified: doc/trunk/design/syn/S02.pod Log: Clarification that unspace is not allowed within tokens, asked by anatoly++. Modified: doc/trunk/design/syn/S02.pod ===

Re: Set-returning .keys (was Re: Smart Matching clarification)

2006-11-23 Thread TSa
HaloO, Adriano Rodrigues wrote: And we may argue as well that being Bag a multiset, the set is a special case where all the elements have the same multiplicity. Yes, that would be a subset type. The thing I had in mind was 'role Seq does Bag' and 'role Bag does Set'. And classes with the same

Re: Set-returning .keys (was Re: Smart Matching clarification)

2006-11-23 Thread Adriano Rodrigues
On 11/23/06, TSa <[EMAIL PROTECTED]> wrote: HaloO, Darren Duncan wrote: > And if Seq and Set etc are interchangeable for all situations where it > doesn't matter whether the elements are ordered or not, then a lot of > times users won't have to care which they have. One can argue that we have t

Re: Set-returning .keys (was Re: Smart Matching clarification)

2006-11-23 Thread TSa
HaloO, Darren Duncan wrote: And if Seq and Set etc are interchangeable for all situations where it doesn't matter whether the elements are ordered or not, then a lot of times users won't have to care which they have. One can argue that we have the subtyping chain Seq <: Bag <: Set for these i