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
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
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
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)
:
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
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.
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