# New Ticket Created by  Ben Petering 
# Please include the string:  [perl #68114]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68114 >


This code:

   say [**] 4,3,2

produces:

   4096

But according to S03, ** is right associative, and (I think) the  
reduction op is supposed to associate the same way. In other words,  
the output should be:

   262144

(The next line in S03/"Reduction operators" even has this exact  
example that isn't matched by Rakudo's current behaviour:

   [**] 4, 3, 2;     # 4**3**2 = 4**(3**2) = 262144


Thanks to JimmyZ in #perl6 - submitted on his behalf as RT doesn't  
like China. :(

Reply via email to