IterationBuffer.pm6 (rakudo-2020.09) | : | IterationBuffer.pm6 (rakudo-2020.10) | ||
---|---|---|---|---|
skipping to change at line 69 | skipping to change at line 69 | |||
# For maintainability mainly, and possibly for creating smaller, more | # For maintainability mainly, and possibly for creating smaller, more | |||
# inlineable candidates | # inlineable candidates | |||
method iterator(IterationBuffer:D:) { | method iterator(IterationBuffer:D:) { | |||
Rakudo::Iterator.ReifiedList(self) | Rakudo::Iterator.ReifiedList(self) | |||
} | } | |||
# For core debugging purposes only: basically warp the IterationBuffer | # For core debugging purposes only: basically warp the IterationBuffer | |||
# into a full-fledged List and .raku that. We don't care that it will | # into a full-fledged List and .raku that. We don't care that it will | |||
# not round-trip. | # not round-trip. | |||
multi method raku(IterationBuffer:D:) { self.List.raku } | multi method raku(IterationBuffer:D:) { | |||
self.List.raku ~ '.IterationBuffer' | ||||
} | ||||
} | } | |||
#?if jvm | #?if jvm | |||
nqp::p6setiterbuftype(IterationBuffer); | nqp::p6setiterbuftype(IterationBuffer); | |||
#?endif | #?endif | |||
# vim: expandtab shiftwidth=4 | # vim: expandtab shiftwidth=4 | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 3 lines changed or added |