Range modifications: Difference between revisions

Content added Content deleted
Line 206: Line 206:


=={{header|Julia}}==
=={{header|Julia}}==
Julia has an iterator class called ranges, such as integer UnitRanges, that are like the "10-10" of the task but are stated as 10:10, with a colon not a minus sign. This implementation uses Julia's UnitRange class internally.
Julia has iterator classes called a type of Range, such as integer UnitRanges, that are like the "10-10" of the task but are stated as 10:10, with a colon not a minus sign. This implementation uses Julia's UnitRange class internally.
<lang julia>import Base.string, Base.parse, Base.print
<lang julia>import Base.string, Base.parse, Base.print