http://qs321.pair.com?node_id=11133556


in reply to Re: [Raku] Ranges in array slices
in thread [Raku] Ranges in array slices

Thanks tomasz, and a belated welcome to the Monastery!

The sequence operator looks really powerful: my attention was particularly caught by this example from the documentation:

This allows you to write
say 1, 1, * + * ...^ *>= 100;
# OUTPUT: «(1 1 2 3 5 8 13 21 34 55 89)␤»
to generate all Fibonacci numbers up to but excluding 100.

Of course, now that I have an operator that works the way I expected the range operator to work, I’m wondering: why would I ever need the range operator?

Cheers,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,