🦋 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.
tbrowder duh, missed the discord response, sorry 00:04
Guest495 Hi all! 01:06
Is it possible to put the sort in front of things:
m: say ['an', 'amazing', 'length', 'test'].sort: *.chars;
camelia (an test length amazing)
Guest495 Something like:
m: say sort(*.chars): ['an', 'amazing', 'length', 'test']; 01:07
camelia Ambiguous call to 'sort(WhateverCode)'; these signatures all match:
(&by, +values)
(+values)
in block <unit> at <tmp> line 1
Juerd Guest495: sort(*.chars, [...]); 01:08
With ":", the it's always "topic.method:" or "method topic:", so the sort function still comes last. 01:09
Guest495 Thank you! 01:10
Juerd Guest495: By the way, you can use <an amazing length test> instead of quoting each word and using commas, to save some typing. 01:11
Guest495 Merci Juerd! 01:12
m: say sort *.chars, <an amazing length test>
camelia (an test length amazing)
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2021/11/23/2021-...adler-rip/ 13:30
perryprog the poor Net must be tired of getting hit so much :( 15:16
Xliff Can anyone tell me what routine handles precompilation in CompUnit::Repository::Installation? 21:55
lizmat ugexe nine ^^ 23:38