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


<masak> rakudo: my $r = 1..9; $r.pop; say $r.perl # pmichaud: if
ranges are immutable, how come I can pop from them?
<p6eval> rakudo 2dded8: OUTPUT«1..8␤»
<pmichaud> masak: there was a spec change at npw that declares ranges
as immutable.  Rakudo hasn't caught up.
<pmichaud> masak: in particular, .pop and .shift are now gone from
that part of the spec.
<pmichaud> masak: indeed, part of the reason that rakudo hasn't caught
up is because Ranges need to be refactored to be properly Positional,
and doing that means we really need a good understanding of captures.
Hence, thediscussion today.
* masak submits rakudobug
<pmichaud> we also need to remove the tests for .pop and .shift from the suite.
<masak> I like ranges better when they're immutable.
<pmichaud> yes, me also.

Reply via email to