This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html Set by lizmat on 8 June 2022. |
|||
18:03
lizmat joined
18:50
teatwo joined
18:54
tea3po left
18:57
rf left
19:08
rf joined
19:40
teatwo left,
teatime joined
20:13
jgaz left
20:34
rf_ joined
20:36
QhpAptyj9hj0RQwM joined
20:37
rf left
20:41
QhpAptyj9hj0RQwM left
20:47
QhpAptyj9hj0RQwM joined,
QhpAptyj9hj0RQwM left
22:26
rf_ left
22:28
rf_ joined
|
|||
lakmatiol | How would I infinitely cycle a lazy sequence. That is, from <a b c d> to (a b c d a b c d ...) | 22:47 | |
Nemokosch | m: my @cycled = <a b c d>.Slip xx *; say @cycled[^20]; | 22:49 | |
Raku eval | (a b c d a b c d a b c d a b c d a b c d) | ||
Nemokosch | seems to work | ||
lakmatiol | ah, clever | 22:54 |