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

2007-05-24 Thread Darren Duncan
At 4:00 PM -0700 5/23/07, Jonathan Lang wrote: I see no mention of C@@x in this section. I would assume that C@@x may be bound to any object that does the CMultidimensional role, with a note to the effect that the CMultidimensional role does the CPositional role (and thus anything that C@x may

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

2007-05-24 Thread Jonathan Lang
Darren Duncan wrote: Jonathan Lang wrote: I see no mention of C@@x in this section. I would assume that C@@x may be bound to any object that does the CMultidimensional role, with a note to the effect that the CMultidimensional role does the CPositional role (and thus anything that C@x may be

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

2007-05-24 Thread Jonathan Lang
Perhaps it's better to think of '@' and '@@' as working with different contexts. S02 says that there are three main contexts (void, scalar, and list); that scalar context has a number of sub-contexts (boolean, integer, number, and string), and that list context has a number of sub-contexts based

Re: [S02] Sigils

2007-05-24 Thread Larry Wall
On Wed, May 23, 2007 at 04:33:23PM -0700, Jonathan Lang wrote: : From S02: : : -- : : Perl 6 includes a system of Bsigils to mark the fundamental : structural type of a variable: : :$ scalar (object) :@ ordered array :% unordered hash (associative array) :

Re: [S02] Sigils

2007-05-24 Thread Larry Wall
Whoops, quoted but forgot to answer first question... On Wed, May 23, 2007 at 04:33:23PM -0700, Jonathan Lang wrote: : Perl 6 includes a system of Bsigils to mark the fundamental : structural type of a variable: : :$ scalar (object) :@ ordered array :% unordered hash

Re: [S02] Sigils

2007-05-24 Thread Jonathan Lang
Larry Wall wrote: Well, it's already too easy, but the problem I have with it is not that. My problem is that sigil:@ is the name of a very specific syntactic notion, while Positional is the name of a very generic semantic notion. I don't think those levels should be confused. Fair enough.

Re: [S02] Sigils

2007-05-24 Thread Darren Duncan
At 1:30 PM -0700 5/24/07, Larry Wall wrote: Yes, provided we consider Junction and Any to both be subtypes of Object. All this time, I was thinking that Any and Object were synonymous, that Any is a symbolic|syntactic alias for Object, and Any is not a subtype of Object. Object is the