Range consolidation: Difference between revisions
m
→{{header|Raku}}: Fix link: Perl 6 --> Raku
Thundergnat (talk | contribs) (Fix up some internal links) |
SqrtNegInf (talk | contribs) m (→{{header|Raku}}: Fix link: Perl 6 --> Raku) |
||
Line 1,130:
In Raku, a Range is a first class object with its own specialized notation. Raku Ranges allow for exclusion of the boundary numbers. This example doesn't since it isn't a requirement in this task. Much of the logic is lifted from the [[Set_of_real_numbers#Raku|Set_of_real_numbers]] task with simplified logic for the much simpler requirements.
Note: the output is in standard [https://docs.
<lang perl6># Union
|