3 ms·
> In the raku example, what if the elements were to be multiplied? $ raku -e 'say (0, 1, 2, * × * ... )[^10]' # for readability (0 1 2 2 4 8 32 256 8192 209
by lizmat 8mo ago
> In the raku example, what if the elements were to be multiplied?
$ raku -e 'say (0, 1, 2, * × * ... )[^10]' # for readability
(0 1 2 2 4 8 32 256 8192 2097152)
$ raku -e 'say (0, 1, 2, * * ... *)[^10]' # for typeability
(0 1 2 2 4 8 32 256 8192 2097152)
- zephen 8mo agoYeah, no thanks. My instincts about raku were always that perl was too fiddly, so why would I want perl 6, and this isn't doing anything to dissuade me from that position.