🦋 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.
SmokeMachine I'm starting writing a MySQL's Red driver, would someone like to help me to find the issues? github.com/FCO/Red-Driver-MySQL 01:38
El_Che weekly: m.slashdot.org/story/386026 09:18
notable6 El_Che, Noted! (weekly)
El_Che (we're mentioned)
pmurias hi, do we have an irc log for the new libera channel? 11:16
bartolin colabti logs the libera channels since a couple of days ago. See .e.g colabti.org/irclogger/irclogger_lo...-05-26#l73 (AlexDaniel++) 11:19
also lizmat set something up, but I didn't came around to take a look. The link should be somewhere in the backlog from the last two or three days. 11:20
lizmat logs.liz.nl
bartolin lizmat++ ;)
lizmat note: that's just an alpha version, but it should have all the logs except the ones for today 11:21
still testing whether additions during the day percolate correctly into the search functionality
pmurias bartolin: awesome! 11:32
lizmat: thanks!
Geth doc/str-samecase: e6e9c256f4 | (Stoned Elipot)++ | 2 files
Document Str.samecase

  ... and state that Cool.samecase uses it.
11:38
Geth doc: stoned++ created pull request #3892:
Document Str.samecase
11:38
Shaeto how Raku pass @list to sub/method arguments ? by value ? i know how to get reference in p5 but think i don't need it in p6 ? what if i use @list multiple times in subcalls will Raku spend time for cloning ? 19:06
lizmat m: sub a(@a) { @a.push(42) }; my @b = 666; a(@b); say @b 19:10
camelia [666 42]
lizmat Shaeto: ^^ does that answer your question ?
Shaeto exactly! thank you 19:11
Shaeto for @a -> $x { for $x.Array -> $y { say $y } } 20:09
is it correct or { for $x ->$y ... } is also okay 20:10
@a = Array.new, .... 20:12
for $x ->$y ... can be compiled but does not iterate $x, so, answer is for $x.Array -> $y 20:13
raydiak that's correct. you could also change $x to @x 20:15
m: my @a = ^3 xx 3; for @a -> @x { for @x -> $y { say $y } }
camelia 0
1
2
0
1
2
0
1
2
p6steve m: my @a = ^3 xx 3; dd @a; 20:17
camelia Array @a = [^3, ^3, ^3]
p6steve m: dd @a[0]; 20:18
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '@a' is not declared
at <tmp>:1
------> 3dd 7⏏5@a[0];
p6steve m: my @a = ^3 xx 3; dd @a[0]
camelia Range @a = ^3
Shaeto ahh, @x is more interesting and beatiful :)
p6steve m: my @a = ^3 xx 3; @a.map: |*; 20:34
camelia ( no output )
p6steve m: my @a = ^3 xx 3; @a.map: *.flat; 20:37
camelia ( no output )
p6steve m: my @a = ^3 xx 3; @a.map: *.list; 20:37
camelia ( no output )
p6steve m: my $r=^3; |$r; 20:39
camelia ( no output )
p6steve m: my $r=^3; say |$r;
camelia 012
p6steve m: my @a = ^3 xx 3; @a.map: *.list.say; 20:40
camelia (0 1 2)
(0 1 2)
(0 1 2)
p6steve m: my @a = ^3 xx 3; @a.map: *.flat.say;
camelia (0 1 2)
(0 1 2)
(0 1 2)
p6steve m: my @a = ^3 xx 3; @a.map: *.Slip.say; 21:01
camelia (0 1 2)
(0 1 2)
(0 1 2)
p6steve quit 21:03
holly My squeak compiler system I made today : github.com/zarathemage/zephyr-smalltalk does not compile yet though 23:39
[Coke] OOC, why the Apple license? 23:40
Seriously just curious. Haven't seen that one before. 23:41
holly just for fun, apple open source 23:42
a bit of compiler theory
also for racul etc. 23:43
something to test out smalltalk ideas
smalltalk <-> apple more or less 23:44
moon-child how's that? 23:46
I thought it was just objc <- smalltalk ripoff, but that was it
holly since 1978
what you say about objc is also true 23:47
the meaning is to put in behaviours for widget trees of decorated OO things 23:48
just as in AI
it's open
the image file contains the behaviours 23:51
so less shifting
it's just an id now, but I want to use it in the image FS 23:52
I'm going to write a prolog for it 23:53
for the image FS system 23:55
tree, widget tree
I mean FS tree, widget tree 23:58