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.
01:13 Kaipei left 01:20 razetime joined 02:32 deoac joined 03:04 deoac left 03:08 deoac joined 03:16 ToddAndMargo left 03:44 Kaipei joined 04:10 deoac left 05:30 Heptite left 05:50 ToddAndMargo joined 05:51 ToddAndMargo left 11:18 guifa left 11:25 sgrs joined
Nemokosch classify is great, and iirc it also doesn't copy 12:00
12:09 habere-et-disper joined
habere-et-disper Hi all o/ 12:18
I'm trying to set a default value for a grammar. I thought this reasonable:
m: my grammar foo is default(False) { }
camelia ===SORRY!=== Error while compiling <tmp>
'foo' cannot inherit from 'default' because it is unknown.
at <tmp>:1
habere-et-disper But I'm not sure what to make of that error message!
12:35 habere-et-disper left
Nemokosch foo is not a value but a class type 12:44
13:10 sgrs left 13:38 habere-et-disper joined 13:48 habere-et-disper left 13:49 sgrs joined 14:17 razetime left
Anton Antonov What is the easiest / shortest code to get all intermediate results of a reduction operation? (I.e. when applying `reduce`.) Of course, I can just write a for loop, but maybe there is something neater. 15:56
Nemokosch using `produce` 15:57
m: [\+] (1, 2, 3, 4, 5) andthen .say
that was `[\+]` by the way, just discord eats it in display 15:58
Anton Antonov <@297037173541175296> Ah, yes -- thanks! I remember now seeing / reading this... 16:06
16:10 Heptite joined 16:28 Kaipei is now known as Kaiepi 17:30 dakkar left 17:31 sgrs left 18:48 sgrs joined 19:37 sgrs left 21:37 jgaz joined 22:19 jgaz left 22:38 NemokoschKiwi joined 22:46 NemokoschKiwi left 23:20 habere-et-disper joined