Range consolidation: Difference between revisions

m
→‎{{header|Raku}}: Fix link: Perl 6 --> Raku
(Fix up some internal links)
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.perl6raku.org/type/Range Raku notation for Ranges].
 
<lang perl6># Union
2,392

edits