[00:00] *** brtastic left [00:24] *** aborazmeh left [00:27] *** xinming_ left [00:28] *** xinming_ joined [00:41] *** pecastro left [00:43] tony-o: got it, not much help on my end until after the holidays, sorry [00:43] 2020-12-19T08:38:46Z #raku tbrowder let me check [00:43] 2020-12-19T08:39:41Z #raku tbrowder if it's about authorship of the articles, there's not much I can do. If it's some other thing, it got lost. Please use email... [00:46] *** murrayBlockchain left [00:54] *** wamba left [01:19] *** ggoebel_ left [01:20] *** Doc_Holliwood left [01:26] *** mowotter left [01:40] *** lucasb left [02:08] *** maggotbrain joined [02:36] ¦ doc: JustThisGuyAZ++ created pull request #3748: Update Path.pod6 [02:36] ¦ doc: review: https://github.com/Raku/doc/pull/3748 [02:45] *** xinming_ left [02:45] *** xinming_ joined [02:48] *** melezhik joined [02:49] .tell tony-o, I've uploaded fez plugin to SparrowHub - http://sparrowhub.io/plugin/raku-utils-fez/0.000002 , it happened to be number 200 in SparrowHub eco system, :-) [02:49] melezhik, I'll pass your message to tony-o [02:51] *** xinming_ left [02:52] *** vrurg left [02:54] *** jmchael left [02:54] *** melezhik left [02:54] *** xinming_ joined [02:55] *** vrurg joined [03:12] *** aindilis joined [03:23] *** xinming_ left [03:23] *** xinming_ joined [03:32] *** leont left [03:42] *** melezhik joined [03:42] .tell tony-o , I've updated, with more accurate example - http://sparrowhub.io/plugin/raku-utils-fez/0.000003 [03:42] melezhik, I'll pass your message to tony-o [03:43] *** melezhik left [04:43] *** coverable6 left [04:43] *** committable6 left [04:43] *** linkable6 left [04:43] *** benchable6 left [04:43] *** statisfiable6 left [04:43] *** squashable6 left [04:43] *** shareable6 left [04:43] *** tellable6 left [04:43] *** unicodable6 left [04:43] *** notable6 left [04:43] *** evalable6 left [04:43] *** quotable6 left [04:43] *** bloatable6 left [04:43] *** releasable6 left [04:43] *** sourceable6 left [04:43] *** greppable6 left [04:43] *** nativecallable6 left [04:43] *** bisectable6 left [04:43] *** squashable6 joined [04:44] *** statisfiable6 joined [04:44] *** shareable6 joined [04:44] *** coverable6 joined [04:44] *** committable6 joined [04:44] *** quotable6 joined [04:44] *** greppable6 joined [04:44] *** sourceable6 joined [04:44] *** releasable6 joined [04:45] *** linkable6 joined [04:45] *** unicodable6 joined [04:45] *** evalable6 joined [04:45] *** benchable6 joined [04:45] *** notable6 joined [04:45] *** nativecallable6 joined [04:45] *** bloatable6 joined [04:45] *** bisectable6 joined [04:45] *** tellable6 joined [04:52] *** rindolf joined [05:11] 2 [05:12] 2020-12-23T02:49:18Z #raku tony-o, I've uploaded fez plugin to SparrowHub - http://sparrowhub.io/plugin/raku-utils-fez/0.000002 , it happened to be number 200 in SparrowHub eco system, :-) [05:12] 2020-12-23T03:42:57Z #raku tony-o , I've updated, with more accurate example - http://sparrowhub.io/plugin/raku-utils-fez/0.000003 [05:44] *** Merfont left [05:44] *** Kaeipi joined [05:48] *** xinming_ left [05:48] *** xinming_ joined [05:50] *** Xliff left [05:50] *** Kaeipi left [05:50] *** Kaeipi joined [06:14] *** aluaces joined [06:17] *** Kaeipi left [06:20] *** Kaeipi joined [06:20] *** Merfont joined [06:20] *** Kaeipi left [06:23] *** Merfont left [06:25] *** Kaiepi joined [06:26] *** frost-lab joined [06:31] *** skids joined [06:32] *** Doc_Holliwood joined [06:33] ¦ ecosystem: 52195f24aa | Coke++ | README.md [06:33] ¦ ecosystem: Minor cleanups [06:33] ¦ ecosystem: [06:33] ¦ ecosystem: * Use more serious tone up front [06:33] ¦ ecosystem: * eliminate "temp" note. If we come up with a plan, we can then note it here. [06:33] ¦ ecosystem: * more md formatting [06:33] ¦ ecosystem: * less "META.info" references. [06:33] ¦ ecosystem: * link to docs instead of design (which claims to be out of date) [06:33] ¦ ecosystem: review: https://github.com/Raku/ecosystem/commit/52195f24aa [06:33] ¦ ecosystem: 9b64d8a98f | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | README.md [06:33] ¦ ecosystem: Merge pull request #570 from coke/cleanup [06:33] ¦ ecosystem: [06:33] ¦ ecosystem: Minor cleanups [06:33] ¦ ecosystem: review: https://github.com/Raku/ecosystem/commit/9b64d8a98f [06:38] *** jmerelo joined [06:39] CFP for the FOSDEM devroom closes today! https://news.perlfoundation.org/post/fosdem-2021-call-for-papers [06:39] 2020-12-22T23:13:08Z #raku jmerelo fez is in the ecosystem now for install - included in it is a way to patch an existing zef config to use the p6c mirror & zef ecosystems [06:39] .tell tony-o thanks! [06:39] jmerelo, I'll pass your message to tony-o [06:44] *** skids left [06:44] *** Kaiepi left [06:45] *** Kaiepi joined [06:59] *** xinming_ left [07:02] *** xinming_ joined [07:35] *** sjm_uk joined [07:50] *** parabolize left [08:04] *** Altai-man joined [08:20] so I see from https://docs.raku.org/language/nativecall#Structs that CStructs can have CPointers. How do I define a CStruct for a node of a linked list? [08:23] coldpress: class CIntList is repr('CStruct') { has int64 $.n; has CIntList $.next; } [08:24] iirc [08:25] m: use NativeCall; class CIntList is repr('CStruct') { has int64 $.n; has CIntList $.next; }; CIntList.new(n=>0, dest=>CIntList.new(n=>1)).say; CIntList.new(n=>0, dest=>CIntList.new(n=>1)).dest.say [08:25] rakudo-moar 4b6b2e070: OUTPUT: «CIntList.new(n => 0, next => CIntList)␤No such method 'dest' for invocant of type 'CIntList'. Did you mean␤any of these: 'does', 'gist', 'list', 'List'?␤ in block at line 1␤␤» [08:26] m: use NativeCall; class CIntList is repr('CStruct') { has int64 $.n; has CIntList $.next; }; CIntList.new(n=>0, next=>CIntList.new(n=>1)).say; CIntList.new(n=>0, next=>CIntList.new(n=>1)).next.say [08:26] rakudo-moar 4b6b2e070: OUTPUT: «assign requires a concrete object (got a CIntList type object instead)␤ in block at line 1␤␤» [08:26] moon-child: ^^ [08:26] I'm trying has Pointer[CIntList] instead of has CIntList, and that doesn't seem to work either [08:27] you shouldn't need a pointer; has makes a pointer by default. (You need to use HAS to embed a structure by value) [08:27] maybe try the TWEAK trick from the page you linked? [08:28] wouldn't that create an infinitely big linked list? [08:28] also, I want to create a circular list; so I don't think I can use TWEAK here [08:29] sure, but you can make a private method that binds to 'next' privately [08:32] http://ix.io/2JeF/perl6 [08:33] I see, thank you very much [08:36] *** pecastro joined [08:36] *** Doc_Holliwood left [08:48] *** Kaiepi left [08:49] *** aborazmeh joined [08:49] *** aborazmeh left [08:49] *** aborazmeh joined [08:49] *** Sgeo left [08:56] *** Kaiepi joined [08:59] *** Ovidius joined [09:01] *** gugod left [09:02] *** gugod joined [09:09] *** domidumont joined [09:10] *** sena_kun joined [09:12] *** Altai-man left [09:30] what's the right way to string together these conditionals in the following statement? `if $content ~~ /^^@questions/ and $content ~~ / ?$$/ and rand < 0.01 { say 'yes' };`, `@questions` is an array of opening words i.e. `my @questions = 'can', 'when', 'should';` and `$content` is well, a question ending in `?`. :) [09:31] *** domidumont left [09:31] trying to check that the sentence starts with one of @questions and ends in ?, and then passes the 1% chance in the rand part [09:38] *** aborazmeh left [09:50] you need to escape or quote that ? [09:50] and I would put the randomness test first, since it's the cheapest of all [09:52] *** tib_ joined [09:53] *** Geth left [09:53] moritz: ah of course, ? is a special character, thanks, missed that :) [09:53] and you're right, I'll do the rand check first [09:54] `if rand < 0.1 and $content ~~ /^^@questions/ and $content ~~ / '?'$$/ { say "a" };` [10:00] *** xinming_ left [10:00] *** xinming_ joined [10:01] *** cpage joined [10:05] for the checks to pass as written, it is enough if $content starts with one of the @questions on any line, and ends on a question mark on any other line [10:06] dunno if that's what you want, or if it even can contain multiple lines [10:09] *** cpan-raku left [10:10] *** cpan-raku joined [10:10] *** cpan-raku left [10:10] *** cpan-raku joined [10:45] *** xinming_ left [10:46] m: my $scalar-context = <1 2 3>; say "→ $_" for $scalar-context; say "→ $_" for $scalar-context<> [10:46] rakudo-moar 4b6b2e070: OUTPUT: «→ 1 2 3␤→ 1␤→ 2␤→ 3␤» [10:46] *** xinming_ joined [10:48] *** Geth joined [10:51] *** Black_Ribbon left [11:10] Hello, [11:10] hi, tib! [11:10] from where comes all the files in ~/.raku/sources ? [11:10] hi jmerelo :) [11:10] tib_: from rakubrew? Or rakudobrew? [11:11] hmm I don't installed any of it, but probably sparrow have installed it for me [11:11] tib_: ah, OK, that's not it. Not really sure about sources, but the rest seems to be a precomp repo. [11:12] yep, it contains files like : AFED9027E812967FC8734CD341F7951801F8B86C [11:17] *** wamba joined [11:21] *** abraxxa left [11:23] tib_: right, that's the hashed name that's computed by the precomp engine [11:24] This may be interesting to people interested in growing Raku. Nothing new as such, but it's interesting seeing it all put together (fron GopherCon 2020): https://www.youtube.com/watch?v=uMqosPm7BPQ&list=PL2ntRZ1ySWBfUint2hCE1JRxRWChloasB&index=2 [11:34] yes, seems all related to precomp, when I removed it everything was broken on my machine :P [11:35] thank you [11:37] personnaly I would remove the .zef dir [11:38] *** Doc_Holliwood joined [12:06] *** Ovidius left [12:24] *** leont joined [12:33] *** xinming_ left [12:35] *** xinming_ joined [12:41] *** notandinus left [12:52] *** frost-lab left [13:00] *** jmchael joined [13:09] *** Altai-man joined [13:11] *** sena_kun left [13:13] want ^ and $ not ^^/$$, thanks :) [13:14] ugh, ooops [13:37] *** patrickb joined [13:59] * [Coke] yawns. [14:00] *** jmerelo left [14:06] Once again, hyper operator nodality bites me [14:07] I really with ».foo was equivalent to .map(*.foo), it's the think I most frequently want to do with it [14:07] *** oddp joined [14:16] *** Doc_Holliwood left [14:20] *** xinming_ left [14:21] *** xinming_ joined [14:23] *** mowcat joined [14:27] *** tejr_ joined [14:28] *** tejr left [14:28] *** tejr_ is now known as tejr [14:37] *** domidumont joined [14:48] *** Sgeo joined [14:55] *** notandinus joined [15:01] *** parabolize joined [15:11] *** tejr left [15:11] *** tejr_ joined [15:12] *** tejr_ is now known as tejr [15:14] *** SeasonsBeatings is now known as grumble [15:14] *** wamba left [15:18] *** Doc_Holliwood joined [15:20] *** patrickb left [15:21] *** mowcat left [15:29] *** wamba joined [16:02] m: for (0 .. $*SCHEDULER.max_threads * 2) { start sleep 10; }; say "hi"; [16:02] rakudo-moar 4b6b2e070: OUTPUT: «hi␤» [16:16] *** xinming_ left [16:17] *** xinming_ joined [16:21] *** shlomif joined [16:21] *** MasterDuke joined [16:22] *** rindolf left [16:36] *** melezhik joined [16:37] .tell tyil. Hi Patrick! Could you please comment on this? https://github.com/melezhik/sparky/pull/2#issuecomment-750376484 , thanks [16:37] melezhik, I cannot recognize this command. See wiki for some examples: https://github.com/Raku/whateverable/wiki/Tellable [16:37] .tell tyil Hi Patrick! Could you please comment on this? https://github.com/melezhik/sparky/pull/2#issuecomment-750376484 , thanks [16:37] melezhik, I'll pass your message to tyil [16:37] *** patrickb joined [16:38] *** asymptotically left [16:38] *** asymptotically joined [16:39] ^H^H^H^H^H^H^H^H^H^H^H~ [16:39] 2020-12-23T06:39:32Z #raku tony-o thanks! [16:40] o/ tony-o [16:40] 2020-12-22T23:14:31Z #raku patrickb fez is in the ecosystem now for install - included in it is a way to patch an existing zef config to use the p6c mirror & zef ecosystems [16:41] hey patrickb [16:42] just responded to your emails - [16:42] i'd like to see your list of stuff todo, and i renamed the repos in the monkey patch for zef [16:43] Do you plan to keep fez dependency free? [16:44] https://modules.raku.org/dist/Terminal::Getpass:cpan:TITSUKI could be the simple solution for the password problem. [16:44] hah, fez, what a fantastic name [16:45] patrickb: yea, no dependencies for fez. i have some code using the libs in that repo ^ but no way to test windows [16:46] In german we say "Dies oder das fetzt" roughly translating to "This or that rocks" [16:47] I have access to a Windows, so can do some testing / development there. [16:47] tony-o: I'll type together a list. [16:49] patrickb: thanks, i'll send you a gist to test out win pass [16:49] * patrickb reboots to linux [16:50] *** patrickb left [16:51] *** patrickb joined [16:53] *** MilkmanDan left [16:54] *** MilkmanDan joined [16:56] *** Tirifto joined [16:59] *** Tirifto left [17:00] *** shlomif is now known as rindolf [17:02] *** melezhik left [17:02] *** brtastic joined [17:04] patrickb: https://github.com/tony-o/raku-fez/tree/winpass <- this *should* be okay to be built with zef [17:07] will give it a try (soonish, still have some other things to do first) [17:09] *** sena_kun joined [17:10] tony-o: Hm. Or I rewrite it to get rid of the native code. Requiring a compiler to build is suboptimal. That module I linked found a way around. I'll probably just copy that approach. [17:11] *** Altai-man left [17:11] doesn't msvct come as part of a compiler? [17:11] msvcrt* [17:12] ahh, guess it comes as part of the visual studio run time and not just vs [17:12] I think it can be installed standalone as well... [17:14] i see that as well [17:20] I'll see what I can do. There has to be some way without requiring a compiler or install a library [17:24] have to leave... [17:24] *** patrickb left [17:24] gott speed [17:43] *** notagoodidea joined [17:43] Hi, a weird question : What is the different using & or [17:44] & or what? :) [17:44] $ sigils for function declaration as in : my &foo = {...} and my $l = {...} [17:44] *** Manifest0 left [17:44] (Sorry enter key slipped :)) [17:44] ah :) [17:45] using &foo allows you to then call it as foo(), without the sigil, in practice [17:45] under the hood, I'm not sure :o [17:46] the other thing is that & implies the Callable role [17:46] so you're giving the optimizer a type hint [17:46] With &, I also can use an infix function call but not with $. [17:46] and the reader [17:47] There is one that stand out as a good practice? (Based on the use of sigils, I tend to favor & but I am pretty new at Raku) [17:48] yes, using the sigils tends to be good idea [17:49] notagoodidea: use & if you're calling something Callable, use $ if you're intending use of a scalar [17:49] *** Manifest0 joined [17:50] *** lucasb joined [17:50] tony-o: So avoiding $ for quick pseudo-anonymous functions or do you take into account the "nature" of the results for the scalar part? [18:07] *** bigdata joined [18:18] if it's a lambda it likely doesn't need a name, if it's a function ref then i'd use $ to pass it around [18:22] *** notagoodidea left [18:40] *** domidumont left [18:41] *** Tirifto joined [18:41] *** Tirifto left [18:51] *** bigdata left [18:58] *** notagoodidea joined [19:31] *** aborazmeh joined [19:31] *** aborazmeh left [19:31] *** aborazmeh joined [19:32] *** thundergnat left [19:42] *** imcsk8 left [19:43] *** imcsk8 joined [19:46] *** oneeggeach joined [19:46] *** oneeggeach left [19:46] *** guifa2 joined [19:47] .tell jmerelo when you get a chance, I'm finishing up my FOSDEM proposal, have a few Qs [19:47] guifa2, I'll pass your message to jmerelo [19:51] *** squashable6 left [19:53] *** squashable6 joined [19:53] *** sjm_uk left [20:01] *** oddp left [20:04] *** brtastic left [20:14] .tell patrickb check out the winpass branch - should work in linux and windows now without a compiler [20:14] tony-o, I'll pass your message to patrickb [20:27] *** wamba left [20:36] *** wamba joined [20:42] *** mowcat joined [21:02] *** wamba left [21:08] *** Altai-man joined [21:11] *** sena_kun left [21:23] *** rindolf left [21:28] *** imcsk8 left [21:35] *** imcsk8 joined [21:38] * [Coke] beats his head against Advent of Code Day 10 Part 2 some more. [21:40] *** thdrmz left [21:51] *** thdrmz joined [21:51] [Coke]: what is p2? [21:52] *** Altai-man left [21:55] *** patrickb joined [22:02] tony-o: There is no gzip on windows and there is no easy substitute. It seems zef also found no solution to this. Ugh. [22:02] 2020-12-23T20:14:16Z #raku patrickb check out the winpass branch - should work in linux and windows now without a compiler [22:03] <[Coke]> each day is split into two parts, each worth one gold star: the 2nd part of day 10 is, given a path from 0 to X through N possible nodes, figure out how many different ways there are to get there. [22:04] <[Coke]> \o/ Got there. Whew. [22:04] ugexe: Do I understand correctly, that zef can't install from cpan on Windows, because there is no gzip? [22:04] patrickb, I'll pass your message to ugexe [22:08] timotimo: Thinking about how to best get fez (a new ecosystem client) to support gzip on windows. Could a pure raku implementation of gzip be performant enough? [22:08] no clue without trying it [22:08] *** aborazmeh left [22:10] [Coke]: Because of you, I am trying it but I am stuck in a stupid place. When I open the input file with "foobar".IO.lines, I got an array of string. How to convert it to Int ? [22:11] timotimo: Any gut feeling? (Yours is probably worth more than mine) [22:11] my gut tells me raku dists are usually pretty small, so unless it's catastrophically slow, it should be all right [22:11] notagoodidea: `.map(*.Int)` or `>>.Int` [22:11] <[Coke]> notagoodidea: "1.txt".IO.lines.map(+*) should work [22:12] <[Coke]> but raku will also DTRT most o the time with "32" when you mean 32 [22:12] <[Coke]> m: say "32" == 32 [22:12] rakudo-moar 4b6b2e070: OUTPUT: «True␤» [22:12] Yep when for sorting the data, raku don't as string can ordered it seems. [22:14] *be [22:14] Ha! There is no gzip, but there is a tar which can compressK [22:15] <[Coke]> you can tell sort to sort by a function [22:15] <[Coke]> m: my @a = <100 1 10 102 110 9 8>; say @a.sort(+*); [22:15] rakudo-moar 4b6b2e070: OUTPUT: «(1 8 9 10 100 102 110)␤» [22:16] <[Coke]> so you can keep the originals as strings, sort them numerically... or convert them to numbers up front... (on one of the challenges, I stored them as keys in a hash which re-stringified them... so then I didn't bother making them numbers first...) [22:16] Ah. I made it work based on the documentation with @data.sort({$^a.fc > $^b.fc}) but using the max method after gave me the wrong anwser as the data where not converted to an number. [22:17] why call .fc on it if it's supposed to be numbers? [22:18] a sad case of "blindly copying the documentation and it worked" [22:20] you should really replace the whole thing with .sort(+*) like coke said earlier [22:22] But when doing that the resulting elements are still string (after "ffo".IO.lines.sort(+*)) [22:22] that's just sorting them numerically, they're still strings [22:22] but doing "foo".IO.lines.map(+*).sort gives me the intended list [22:23] yeah, now you're converting to numbers first [22:23] .tell tony-o password reading seems to work on my machine. (Unless the server accepts empty passwords and the prompt just ignored all input or something similar went wrong). [22:23] patrickb, I'll pass your message to tony-o [22:24] Ah ok, I began to understand that sorting is not a in-place operation or at least destruction (if it were the case, the casting due to the sorting will stay). [22:27] correct [22:33] *** guifa2 left [22:34] *** Black_Ribbon joined [22:34] *** patrickb left [22:36] *** patrickb joined [22:36] *** guifa2 joined [22:59] <[Coke]> is there a method to check equality on arrays or must I compare by element (current cheat: .join them and str compare) [23:00] *** patrickb left [23:00] You mean: you have two arrays, and are equal positioned elements the same ? [23:01] <[Coke]> all elements. [23:01] <[Coke]> right. [23:01] [Coke]: you know the number of elems is the same? [23:01] <[Coke]> Also: is it expected that a shaped array has extra "blanks" off the end when dd-ing? [23:01] <[Coke]> lizmat: y [23:01] m: dd ?all((1,2,3) >>==<< (1,2,3) [23:01] rakudo-moar 4b6b2e070: OUTPUT: «5===SORRY!5=== Error while compiling ␤Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1)␤at :1␤------> 3dd ?all((1,2,3) >>==<< (1,2,3)7⏏5␤» [23:02] m: dd ?all((1,2,3) >>==<< (1,2,3)) [23:02] rakudo-moar 4b6b2e070: OUTPUT: «Bool::True␤» [23:02] m: dd ?all((1,2,3) >>==<< (1,2,4)) [23:02] rakudo-moar 4b6b2e070: OUTPUT: «Bool::False␤» [23:02] <[Coke]> m: my @a = Array.new(:shape(3,3)); @a[2;2] = '3'; dd @a; [23:02] rakudo-moar 4b6b2e070: OUTPUT: «Array @a = [Any, Any, [Any, Any, "3"], Any, Any, Any, Any, Any, Any]␤» [23:03] do not recommend assigning a shaped array like that [23:03] m: my @a = Array.new(:shape(3,3)); dd @a [23:03] rakudo-moar 4b6b2e070: OUTPUT: «Array @a = [Any, Any, Any, Any, Any, Any, Any, Any, Any]␤» [23:03] <[Coke]> ok, what's the right way? [23:03] m: my @a := Array.new(:shape(3,3)); dd @a [23:03] rakudo-moar 4b6b2e070: OUTPUT: «Array element = Array.new(:shape(3, 3), [Any, Any, Any], [Any, Any, Any], [Any, Any, Any])␤» [23:03] *** kensanata joined [23:03] m: my @a[3;3]; dd @a [23:03] rakudo-moar 4b6b2e070: OUTPUT: «Array element = Array.new(:shape(3, 3), [Any, Any, Any], [Any, Any, Any], [Any, Any, Any])␤» [23:04] <[Coke]> Roger, trying the bind [23:04] <[Coke]> ... doh. had two arrays, only ONE was shaped, also. [23:05] * lizmat sees [Coke] is in good hands, so feels free to goto sleep& [23:06] <[Coke]> ~~ [23:06] <[Coke]> ... ok, failing differently at least. [23:06] m: dd (1,2,3) eqv (1,2,3) [23:06] rakudo-moar 4b6b2e070: OUTPUT: «Bool::True␤» [23:06] m: dd (1,2,3) eqv (1,2,4) [23:06] rakudo-moar 4b6b2e070: OUTPUT: «Bool::False␤» [23:07] <[Coke]> timotimo: how to copy one shaped array into another @var ? [23:07] i think assigning a shaped array into a @var[3;3] with a matching shape will work? [23:09] <[Coke]> if I do "@old = @new" I get "must provided structured data", if I do "@old = @new" I get an error further along (digging into that one.) [23:11] <[Coke]> it complains about the structure of that one, getting Index out of range. Is: 1, should be in 0..0 -- trying to index with 0;1 at that point on a thing with a shape of 97;97 - throwing in some .shape calls.. [23:13] *** aluaces left [23:14] <[Coke]> aha. [23:14] <[Coke]> my @thing = stuff(@old) - if stuff returns a shaped array, also have to bind there or lose the shape. [23:14] <[Coke]> timotimo++ [23:18] *** xinming_ left [23:18] *** xinming_ joined [23:19] [Coke]: Ah! p1 solved and p2 looks... not fun :D [23:28] doesn't eqv work for array comparison? [23:30] m: for (1, 2, 4), (1, 2), (1, 2, 3), (1, 2, 4, 5) { say (1, 2, 4) eqv $_ } [23:30] rakudo-moar 4b6b2e070: OUTPUT: «True␤False␤False␤False␤» [23:39] *** cpan-raku left [23:52] *** cpan-raku joined [23:52] *** cpan-raku left [23:52] *** cpan-raku joined [23:54] Any examples of moduels that show off some seamless integration with Raku at an core / syntaxy level? [23:55] I'm thinking here of stuff like Cro (with its faux control blocks), Red (with its metamodels and traits) or my own DateTime::Timezones [23:56] *** xinming_ left [23:57] *** xinming_ joined