Sort of a rehash on an old topic, but there's new stuff now with A6.

Mike Lazarro had been making a list of all the operators that Perl6 has.
The latest version I could find was Take 6 (at
http://archive.develooper.com/[EMAIL PROTECTED]/msg12130.html).

So, my questions:

1. Is there a more recent version of this list?

2. Perhaps this list ought to be expanded to specify how the operators
relate to context (e.g., C<+> applies numeric context to LHS and RHS).
I'm happy to give this a go, but I'd prefer the most recent operator
list first.

3. Speaking of context, what's the complete tree of contexts now?
Am I missing anything from this?  Are ArrayRef and HashRef et al still
needed, or are we going away from the %{...} notation for dereferencing
a hash?


Type context
|
+--- Scalar
|    |
|    +--- Bool
|    |
|    +--- Num
|    |    |
|    |    +--- Int
|    |
|    +--- Str
|    |
|    +--- Ref
|         |
|         +--- HashRef
|         |
|         +--- ArrayRef
|         |
|         +--- CodeRef
|         |
|         +--- ScalarRef
|    
+--- List
|    |
|    +--- (lazy and eager?)
|
+--- Void

(Is there a Pair context?  PairRef?  My guess is no.)


What about other, orthogonal, context-like things?
Lvalue/Rvalue (i.e., do to with C<=>)?
Binding/Nonbinding (i.e., to do with C<:=>)?


-- 
Debbie Pickett http://www.csse.monash.edu.au/~debbiep [EMAIL PROTECTED]
  "Have you ever seen anything so wonderful in your entire life?"  "Wow, cool!
 But, err, what is it?"  "I don't know, but I bet Scuttle will." - _The Little
                                   Mermaid_

Reply via email to