Range consolidation: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Fix up some internal links) |
SqrtNegInf (talk | contribs) m (→{{header|Raku}}: Fix link: Perl 6 --> Raku) |
||
Line 1,130: | 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. |
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. |
Note: the output is in standard [https://docs.raku.org/type/Range Raku notation for Ranges]. |
||
<lang perl6># Union |
<lang perl6># Union |