🦋 Welcome to the former MAIN() IRC channel of the Raku Programming Language (raku.org). This channel has moved to Libera (irc.libera.chat #raku)
Set by lizmat on 23 May 2021.
leont just finished the first version of his slides o/ (this is quite early by my standards) 01:28
leont just finished the first version of his slides \o/ (this is quite early by my standards)
El_Che juanfra: github.com/nxadm/rakudo-pkg 09:32
leont CIAvash: what's the difference between the rakudo and rakudo-bin aur repositories? Is the latter just more maintained? 10:15
patrickb What's the easiest way to get at the method object of a method in an object? (e.g. to make a supply call that method regularly) 12:32
lizmat find_method ? 12:35
m: dd 42.^find_method("Str") 12:36
camelia Method Str = proto method Str (Mu: |) {*}
patrickb self.^find_method('some-method') ?
lizmat m: dd 42.can("Str") # more HLL 12:37
camelia (proto method Str (Mu: |) {*}, proto method Str (Mu: |) {*})
patrickb OK, so there is no short-hand thingie like `&` for methods?
lizmat no, there isn't
patrickb ah, can looks a bit nicer.
Thanks lizmat!
lizmat yeah, but the interface is a bit different
also, for some reason, 42.can returns the same proto twice :-( 12:40
patrickb I think I only just understood the intricacies of my question. A simple solution is to just use an anonymous sub and call the method from there. 12:47
juanfra <leont "CIAvash: what's the difference b"> "rakudo-bin" uses the binary tarball from rakudo.org. "rakudo" builds rakudo from the sources. 14:41
leont As a user, why would I prefer one over the other? 14:42
juanfra building rakudo and the dependencies take a lot of resources. rakudo-bin is like install an official arch package. 14:45
rakudo-bin extract the content from the tarball and the creates an arch package.
long time ago there was an official arch package for rakudo but for some reason they retired it 14:47
colomon I'm finally using Comma in a big way, but I have one weird thing going on. When I say something like $file.print: qq:to/FOOTER/; (with the proper heredoc following), Comma complains "Too many position arguments". The code seems to compile and run just fine. Am I doing something subtle wrong, or is this a Comma bug? 15:13
leont juanfra: thanks, that does help. 15:57
holly latest slackware release 2016 :-/ 17:07
tellable6 2021-06-03T20:16:24Z #raku <japhb> holly There is a #raku-gamedev channel which you may be interested in.
Geth doc/cool-coercers: 1d91d36be6 | (Stoned Elipot)++ | doc/Type/Cool.pod6
Fix pastos and add a bit of diversity in examples
17:08
holly nice 17:11
.tell japhdb : thanks, I joined :-) 17:13
tellable6 holly, I haven't seen japhdb around, did you mean japhb?
holly .tell japhb : thanks, I joined :-)
tellable6 holly, I'll pass your message to japhb
holly they're's lots of game packages I see 17:15
s/they're/there
Geth doc: 1e55cfdca4 | (Stoned Elipot)++ (committed by Juan Julián Merelo Guervós) | doc/Type/Cool.pod6
Add Cool coercers ref #3361
17:32
doc: b232304520 | (Stoned Elipot)++ (committed by Juan Julián Merelo Guervós) | doc/Type/Cool.pod6
Fix pastos and add a bit of diversity in examples
linkable6 Link: docs.raku.org/type/Cool
gfldex lolibloggedalittle: gfldex.wordpress.com/2021/06/05/la...rly-bound/ 18:38
m6locks time travel ftw 18:56
guifa so we can set the precedence for circumfixes (from the outside) 21:17
(that is, when Raku picks up the initial symbol)
Is there any way to adjust the precedence for the terminal symbol? Unfortunately, if the circumfix's second symbol begins with anything that looks like a prefix, infix, term, or circumfix-start, the parsing fails, and that really limit you on the symbols that can be used 21:18
leont I don't think that's a precedence issue 21:27
It's a fundamental "don't poke there", ambiguous syntax is not a good thing
guifa I kind of get that, but I wonder if having a "terminate-asap" property might help. I've run into it on two separate occasions, and couldn't understand why the circumfix wasn't working (LTA error but not sure how to improve it) 21:34
circumfix:«<html> </html>» is what I was trying to do, but the terminal < gets interpreted as less-than, and then the / as regex-start. 21:35