🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
sxmx tyil: I liked your IRC bot article. 02:10
Geth ecosystem: hythm7++ created pull request #557:
Add new module Retry
05:16
xinming_ today, I just realized that in raku, Nil is diffferent from Any 07:20
tyil sxmx: :D 07:48
sxmx /mouse enable 08:08
sorry
tyil sxmx: nice cloak, are you actually in Amsterdam? 08:14
sxmx No US, freebsd.amsterdam does freebsd vms where they donate proceeds to openbsd 08:15
openbsd.amsterdam
tyil ah, too bad
we used to have monthly perl+raku meetups at my work before the 'rona in Amsterdam 08:16
(and intend to bring it back after, whenever that may be)
might've been fun if you're looking for more Raku in your life
sxmx Hopefully sooner in Europe's case. It's going to take a while over here 08:17
tyil we can only hope, sadly
here many people seem to not care, still 08:18
sxmx we just had our biggest day friday 08:19
for infections that is 08:20
tyil we got it hopping between animals and people, apparently 08:20
specifically minks in mink farms 08:21
sxmx ah, at least it's not pet/food livestock 08:22
tyil I certainly hope not
Geth doc: 2403170f0c | (Patrick Böker)++ (committed by Juan Julián Merelo Guervós) | 2 files
Rework object construction documentation

This is mostly a rewording and restructuring of the previous material with the aim of being clearer and easier to understand.
Also several statements that I believe to be false have been corrected:
... (8 more lines)
09:09
Geth doc: 77a673648f | (JJ Merelo)++ | highlights/package.json
Updates to fix vulnerabilities
11:02
cpan-raku New module released to CPAN! Text::MathematicalCase (0.0.4) by 03ELIZABETH
Doc_Holliwood how do i put a shaped coordinate into a variable? 11:06
as in my @a[2;2] = <a b>, <c d>; say @a[1;1]
how do i put 1;1 into a variable so @a[$x] works? 11:07
i tried to use a Pair but that did not work :/
lizmat Doc_Holliwood: you can't at the moment, there's a PR to support that in the future 11:20
github.com/rakudo/rakudo/pull/3953 to be precise
in fact, I just merged it 11:22
Geth ecosystem/JJ-patch-1: 7ce7c751c7 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Release last version to the ecosystem
11:30
ecosystem: JJ++ created pull request #558:
Release last version to the ecosystem
Doc_Holliwood I see, ty 11:40
Geth doc: 608ad830b6 | Coke++ | xt/pws/code.pws
new class name in code example
12:17
doc: 1e8ee5b903 | Coke++ | doc/Language/objects.pod6
fix preamble so example compiles
linkable6 Link: docs.raku.org/language/objects
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2020/10/26/2020-...-and-star/ 13:18
perryprog That second challenge looks fun 13:22
perryprog Wait lizmat, you're the Rakudo weekly author? 13:31
lizmat eh, yeah, usually :-)
perryprog Oh heck, I didn't even realize! Thank you so much for your work on that, it's one of my favorite parts of the Raku community! 13:32
<3
lizmat glad to hear that :-)
bioexpress Hello, `choose-multi` from `Term::Choose` returns the chosen elements as an Array. Is that OK or should it return the chosen elements as a List? 14:07
lizmat do you want the returned array to be mutable ? 14:08
bioexpress lizmat, what does that mean? 14:21
lizmat should you be able to change the values in the array that is returned, or should they be considered constants
bioexpress I am not shure. 14:23
moritz IME it doesn't usually make much of a difference 14:26
bioexpress Maybe it is the best to keep it as it is (Array), so I don't have to break backwards compatibily. 14:27
tyil lizmat++
Altreus I would say the calling code takes ownership of the response, and therefore it is fine for it to be mutable
I can imagine a situation where a substitution would be applied over the results, for instance
lizmat Altreus: this doesn't matter in anything like: my @a = Term::Choose.choos-multi 14:29
it would only make a difference in something like: for Term::Choose.choose-multi { $_ = 42 } 14:30
and that would be rare, I think
Altreus well when the choices are "break" or "do nothing"... 14:33
lizmat well, I would vote for break in this case, as apparently the user has a wrong idea of what is going on there 14:34
Altreus agreed 14:37
feels like some kind of sink context to me 14:38
although the array itself isn't sunk ... nothing is being done
Can you make an array that's immutable unless it's put somewhere? :/ 14:39
lizmat but if it's put somewhere, it does not need to be mutable ?
Altreus I mean if I do my @a = Term::Choose.choose-multi, then I want @a to be mutable 14:41
rather, its items
Because if I do the for example, I want it not to be, since mutating it will have no effect
lizmat yeah, but in that case it doesn't matter whether it returns an Array or a List
Altreus oh, yes that's the difference
I lost sight of that :D
I got stuck on mutable vs immutable array
[Coke] m: dd <a b>, <a> 15:24
camelia ("a", "b")
"a"
[Coke] m: dd <a b>, <a,>
camelia ("a", "b")
"a,"
[Coke] is there a way to use <> but get a single item list? 15:25
moritz m: dd <a > 15:26
camelia "a"
moritz [Coke]: don't think so 15:27
[Coke] ok
Altreus Oh I don't like that at all 15:29
seems bizarre not to always be a list
lizmat m: dd < a > 15:34
camelia "a"
[Coke] m: dd qw/a/; 15:41
camelia "a"
[Coke] m: dd qw/a b/;
camelia ("a", "b")
thundergnat dd <a>.list 16:27
evalable6 ("a",)
thundergnat The single argument rule is very useful but there are odd corners where it bites you. 16:28
[Coke] m: dd <a b>.list 16:29
camelia ("a", "b")
[Coke] mmm. could do that if I really want the <> syntax, thank you
thundergnat I was iterating through arrays of Ranges and had to special case for arrays with only one element because of single arg. Not a problem once I figured it out, but very surprising initially. 16:30
Altreus I feel like this is less useful than its consistency would have you believe 17:37
mind you, you're unlikely to have a variable in there so at least it won't trip you up at runtime 17:38
[Coke] makes the mistake of reading some political posts on FB 18:18
[Coke] nopes right out
jdv79 of reading political soc med type stuff or fb altogether? 18:24
[Coke] I'm stuck on FB, only way to communicate with some friends/family. I just closed the window for now. 18:59
gfldex lolibloggedalittle: gfldex.wordpress.com/2020/10/26/pl...olescence/ 19:19
Xliff . 22:03
\p
Er. \o
gfldex o/ 22:04
MasterDuke moon-child: i don't remember if the current jvm backend can be compiled with the graalvm compiler, but pmurias++ started a truffle version (github.com/Raku/nqp/tree/truffle) of the backend. it still needs a lot of work, but it shows impressive promise 22:11
moon-child MasterDuke: cool, good to know! 22:23
Doc_Holliwood weekly: www.perlmonks.org/index.pl?node_id=11123120 23:10
notable6 Doc_Holliwood, Noted! (weekly)
Doc_Holliwood a bit late perhaps
lizmat 23:11
m: say 0 <<X<< (1,2) 23:18
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing << or >>
at <tmp>:1
------> 3say 0 <<X<7⏏5< (1,2)
expecting any of:
infix
infix stopper
SmokeMachine usercontent.irccloud-cdn.com/file/...754682.JPG 23:24
^^ usercontent.irccloud-cdn.com/file/...754692.JPG 23:25
kawaii SmokeMachine: hey I work there :D 23:29
SmokeMachine Are you guys working with Raku? 23:31
kawaii: ^^
kawaii Just me at the moment, very small internal projects and experiments. :) 23:32