Range consolidation: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
(Fix up some internal links)
Line 1,128: Line 1,128:
(formerly Perl 6)
(formerly Perl 6)
{{works with|Rakudo|2018.12}}
{{works with|Rakudo|2018.12}}
In Perl 6, a Range is a first class object with its own specialized notation. Perl 6 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#Perl_6|Set_of_real_numbers]] task with simplified logic for the much simpler requirements.
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.perl6.org/type/Range Perl 6 notation for Ranges].
Note: the output is in standard [https://docs.perl6.org/type/Range Raku notation for Ranges].


<lang perl6># Union
<lang perl6># Union