parrotcode:
methods for the Range class
Contents
|
Language Implementations
|
Perl6
NAME
src/classes/Range.pir - methods for the Range class
Methods
clone (vtable method)
Ranges are immutable, so just return ourself.
from
Gets the value the range starts from.
to
Gets the value the range goes up to.
perl
Returns a Perl code representation of the range.