🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:02 reportable6 left 00:05 reportable6 joined 00:13 tejr left 00:14 tejr joined 00:53 tejr left 00:54 tejr joined 01:28 frost joined 02:12 xinming left 02:14 xinming joined 02:26 colemanX joined 02:49 monkey_ left 03:06 tejr left, tejr joined 03:47 ProperN[out] left 03:48 ProperNoun joined 03:52 ProperNoun left, ProperNoun joined 04:26 tejr left 04:27 tejr joined 05:33 nativecallable6 left, evalable6 left, quotable6 left, squashable6 left, bloatable6 left, greppable6 left, notable6 left, benchable6 left, linkable6 left, releasable6 left, statisfiable6 left, reportable6 left, unicodable6 left, sourceable6 left, tellable6 left, coverable6 left, committable6 left, shareable6 left, bisectable6 left 05:34 nativecallable6 joined, greppable6 joined 05:35 coverable6 joined, notable6 joined 05:42 gordonfish- joined
Geth__ Raku-Steering-Council/main: 8db193d8a0 | (Geoffrey Broadwell)++ | minutes/20211211.md
Add RSC meeting minutes for 2021-12-11
05:44 gordonfish left 05:46 Geth__ left, Geth joined 06:03 reportable6 joined 06:34 squashable6 joined, unicodable6 joined, tellable6 joined, linkable6 joined, bisectable6 joined, bloatable6 joined 06:35 quotable6 joined, statisfiable6 joined 06:36 benchable6 joined, evalable6 joined, shareable6 joined 06:49 tejr left 06:50 tejr joined 07:21 seednode left 07:22 seednode joined 07:25 abraxxa joined 07:31 abraxxa left 07:32 abraxxa joined 07:34 sourceable6 joined 07:35 committable6 joined 08:00 Sgeo left 08:56 jjido joined 08:59 dakkar joined 09:01 jjido left 09:27 qorg11 left 09:31 qorg11 joined 09:35 releasable6 joined
mykhal hi, can cone do cross-apply like ('a'..'c') op (&lc, &uc) == <a b c A B C> ? (op I thought could be X. or >>.>> ) 10:17
moon-child huh I thought you could do variadic map in cl but apparently not 10:20
otherwise you could map
oh, wait
yea here ya go 10:21
m: say map &map.assuming(*, 'a'..'c'), (&uc,&lc)
camelia ((A B C) (a b c))
mykhal interesting.. btw, i really wanted flattened (which X<infixop> is used for) 10:22
moon-child m: say map &slip∘&map.assuming(*, 'a'..'c'), (&uc,&lc) 10:23
camelia (A B C a b c)
mykhal .. and wanted also some identity rather than lc on already lowcase ')
moon-child I am not sure why there is no sub id. But if that's what you want then why not just (|x.uc) , |x? 10:24
mykhal not sure of "sub id", and exact usage of |x syntax 10:33
and really hoper for cross-op or hyper 10:34
moon-child m: say [&uc,&lc] X[&map] ('a'..'c') 10:35
camelia ((A) (B) (C) (a) (b) (c))
10:35 evalable6 left, linkable6 left
moon-child not really sure why you've your heart set on X though 10:35
10:36 evalable6 joined 10:37 linkable6 joined
mykhal moon-child++ rather nice, and ok, i'll use RX 10:38
m: say ('a'..'c') RX[&map] [&(*~''), &uc] # still not perfect 10:48
camelia ((a) (b) (c) (A) (B) (C))
moon-child replace &(*~'') with &[~] 10:49
mykhal cool, but shouldn't this rather work like that instead of assuming confusion with perlish . concat ? 11:01
m: say ('a'..'c') X. (&[~], &uc)
camelia 5===SORRY!5=== Error while compiling <tmp>
Unsupported use of . to concatenate strings. In Raku please use: ~.
at <tmp>:1
------> 3say ('a'..'c') X.7⏏5 (&[~], &uc)
moon-child why should X. work that way?
mykhal very cnvenience; and i don't see hard philosophical problems with it, yet 11:10
and . is (infix operator)-ish 11:21
11:23 Altai-man joined 12:02 reportable6 left 12:19 ProperNoun left 12:20 ProperNoun joined
mykhal oh.. 12:45
m: say 'a' . &uc
camelia 5===SORRY!5=== Error while compiling <tmp>
Unsupported use of . to concatenate strings. In Raku please use: ~.
at <tmp>:1
------> 3say 'a' .7⏏5 &uc
12:45 gabiruh left
mykhal now i see the philosophical problem 12:46
Altai-man mykhal, (whispers) haskell 12:50
12:53 mscha joined
mscha  my @a = [1,2], [3,4]; dd @a.map(*.Str); # OK 12:53
evalable6 ("1 2", "3 4").Seq
mscha my @a = [1,2], [3,4]; dd @a».Str; # Huh?
evalable6 Array element = [["1", "2"], ["3", "4"]]
mscha Why aren't those equivalent?  » goes one level deeper than I expected. 12:54
12:56 gabiruh joined 13:08 atroxaper joined
atroxaper Hello, #raku 13:08
Altai-man o/ 13:09
mykhal mscha: because of nodality "issues", it's doing rather deepmap 13:10
atroxaper codesections: Hello. I have a question about lowbar and decided to not create the new issue for now. Is it final decision about using 'note' in Dbg package but not 'say' or 'put'? I, for example, do not use 'dd' for debug because it's output are messed with app's output. 13:16
13:18 dextercd joined 13:24 Zero_Dogg left
SmokeMachine m: say <a e i o u> X[andthen] (*.lc, *.uc) 13:37
camelia (a A e E i I o O u U)
SmokeMachine m: say <a e i o u> X[andthen] (*.&lc, *.&uc)
camelia (a A e E i I o O u U)
mykhal m: say <a e i o u> X[andthen] (~*, *.uc) # SmokeMachine++ 13:39
camelia (a A e E i I o O u U)
SmokeMachine but: 13:42
say <<a e i o u "">> X[andthen] (*.lc, *.uc) 13:43
evalable6 (a A e E i I o O u U )
SmokeMachine say <<a e i o u "" 0>> X[andthen] (*.lc, *.uc)
evalable6 (a A e E i I o O u U 0 0)
SmokeMachine :)
14:03 Colt joined, reportable6 joined 14:05 jjido joined 14:06 Zero_Dogg joined
mykhal ok, is't natural, can be then .uniq'd .. 14:21
but i'm inspecting mscha's nodality issue, thought to get expected result with 14:23
m: my @a = [[1, 2], [3, 4]]; my method strn (Array --> Str) is nodal { self.Str }; say @a>>.strn.raku
camelia No such method 'strn' for invocant of type 'Int'. Did you mean any of
these: 'Str', 'atan', 'sign', 'sin', 'sort', 'sqrt', 'tan'?
in block <unit> at <tmp> line 1
14:38 Sgeo joined 14:43 perlbot left, simcop2387 left 14:45 jjido left
gfldex hohohoibloggedalittle: gfldex.wordpress.com/2021/12/13/re...ive-caves/ 14:47
It's a shame that the AoC got only very small datasets to work with. Very little chance to use threading and show those Pythonists who is boss! 14:52
15:19 simcop2387 joined 15:20 perlbot joined 15:26 slowtyper left, slowtyper joined
SmokeMachine m: my @a = [[1, 2], [3, 4]]; my method strn (Array: --> Str) is nodal { self.Str }; say @a>>.&strn.raku 15:48
camelia ("1 2", "3 4")
SmokeMachine m: my @a = [[1, 2], [3, 4]]; my method strn (Array: --> Str()) is nodal { }; say @a>>.&strn.raku 15:49
camelia Use of Nil in string context
("", "")
in method strn at <tmp> line 1
Use of Nil in string context
in method strn at <tmp> line 1
SmokeMachine m: my @a = [[1, 2], [3, 4]]; my method strn (Array: --> Str()) is nodal { self }; say @a>>.&strn.raku
camelia ("1 2", "3 4")
16:05 whatnext joined
tbrowder fyi: i’m working on my Mi6::Helper module to make it easier to transform an mi6-created library for cpan to the Zef repo. should be available in a few days. the curr ver is basically a place holder showing planned features (outdated now) 16:15
16:55 TheAthlete joined 17:06 amenonsen left 17:08 amenonsen joined
Geth doc: f101423ab5 | Coke++ | util/update-and-test
more diagnostics
17:12 Geth left, Geth joined 17:28 mathias[m] left 17:29 mathias[m] joined 17:42 dakkar left 17:48 mscha left 17:56 colemanX left 18:00 Xliff left 18:02 reportable6 left 18:03 reportable6 joined 18:13 Altai-man left 18:18 abraxxa left 18:45 whatnext left 18:49 Xliff joined 18:57 lichtkind joined
Xliff gfldex: I have a lot of troubles with node walking algorithms. What materials would you suggest I read to bone up on 'em? 18:58
gfldex Xliff: I don't really have any recommendations. I either recurse with a recursive function or I recurse with Iterators and build the stack myself. 19:25
There are plenty of graphs where this will fail and I leave those to folk who are paid to worry about them. :) 19:26
19:51 TheAthlete left 19:57 monkey_ joined 20:26 Geth left, Geth joined 20:27 atroxaper left 20:44 monkey_ left
lizmat And another Rakudo Weekly News hits the Net: rakudoweekly.blog/2021/12/13/2021-...or-micros/ 20:59
20:59 gordonfish joined 21:00 gordonfish- left 21:04 Geth left, Geth joined
moritz_ lizmat++ 21:11
21:16 gordonfish left, gordonfish joined 21:49 lichtkind_ joined 21:51 lichtkind left 22:05 monkey_ joined
tonyo codesections: not sure if you're more active here than GH but if you'd like to continue the chorum stuff here (or in privmsg) that's okay by me 22:06
tellable6 2021-12-11T09:33:59Z #whateverable <MasterDuke> tonyo: gist.github.com/Whateverable/3e29b...9f343b364f
tonyo ? 22:07
MasterDuke tonyo: you'd tried to run benchable6, i was just showing you the output 22:19
22:26 eseyman left 22:43 eseyman joined 22:59 monkey_ left 23:04 slowtyper left, slowtyper joined 23:17 dextercd left