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.
00:26 theesm left 00:29 theesm joined 02:10 teatwo left 02:11 teatwo joined 02:12 tea3po joined 02:16 teatwo left 02:37 lizmat left, lizmat_ joined 03:31 Marelle joined 04:03 guifa joined 04:06 guifa_ left 04:12 Heptite left 07:42 habere-et-disper joined
habere-et-disper What is the expectation of the upto operator and *. For example: 08:06
m: my @foo = (1,2,3); say @foo[ 0 ..^ * ]
camelia (1 2 3)
habere-et-disper I was expecting it to exlude the end point 3.
08:09 dakkar joined
moritz m: m: my @foo = (1,2,3); say @foo[ 0 .. * ] 08:13
camelia (1 2 3)
Nahita 0 ..^ * is actually an infinite range starting at 0, like 0 .. * would be; excluding the infinity doesn't harm its infiniteness
and therefore we get from start (0 here) until the very end 08:14
docs.raku.org/language/list.html#Range_as_slice explains better than me
habere-et-disper Thanks ! 08:15
Nahita np 08:16
08:17 habere-et-disper left
Nemokosch I can recall this topic on Github; maybe there is a trap entry for it or something. 08:47
github.com/Raku/problem-solving/issues/50 08:58
09:10 guifa left 09:11 guifa joined 11:55 Heptite joined 12:07 theesm left 12:29 theesm joined 12:44 lizmat_ left, lizmat joined 13:18 jgaz joined 14:10 tea3po left, tea3po joined 14:24 Heptite left 14:31 Heptite joined 15:14 Marelle left 16:31 dakkar left 16:34 jgaz left 17:04 jgaz joined 21:13 jgaz left
Mediocre first day here hello everyone 22:47
23:32 tea3po left 23:33 teatime joined