00:00
guifa left,
sivoais left,
archenoth left,
sivoais joined,
guifa joined
05:31
thowe left
05:32
thowe joined
05:43
uzl[m] left
05:45
uzl[m] joined
05:54
razetime joined
06:49
razetime left
07:09
razetime joined
07:32
Manifest0 joined
08:01
dakkar joined
08:06
razetime left
09:43
razetime joined
10:06
razetime left
|
|||
Nemokosch | m: my %dict = :1one :2two :3three; dd %dict; | 10:44 | |
^ what happens in this case? | |||
Nahita | my wild guess is | 11:07 | |
it doesn't have anything to do with the LHS %dict assignment | 11:08 | ||
m: say :1one :2two :3three | |||
This RHS constructs a pair out of 1 => one | 11:09 | ||
and other things ` :2two :3three` are named arguments to the Pair constructor | |||
which are ineffective | |||
you can pass named arguments without comma-separating them | |||
i.e., `Pair.new("one", 1):2two:3three` is first constructed | 11:10 | ||
This RHS constructs a pair out of one => 1 | 11:11 | ||
gfldex | m: my %dict = (:1one :2two :3three; dd %dict; | 11:24 | |
m: my %dict = (:1one:2two:3three); dd %dict; | |||
lizmat | m: my %dict = (:1one:2two:3three); dd %dict; | ||
camelia | Hash %dict = {:one(1), :three(3), :two(2)} | ||
11:30
ocomport joined
|
|||
lizmat | and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/04/11/2022-15-wordling/ | 12:30 | |
14:34
razetime joined
14:52
archenoth joined
|
|||
Nahita | so what's the why of it? | 15:11 | |
Nemokosch | I think you were mostly right | 15:13 | |
15:19
razetime left
|
|||
Nahita | did you find a documentation explaining this | 15:19 | |
Nemokosch | not really 😅 | 15:21 | |
Nahita | so this was a personal conclusion I understand? | 15:26 | |
16:38
dakkar left
|
|||
guifa | AIUI, the problem is that trailing :foo(bar) will be interpreted first as an adverb, secondly as a pair if it's not possible to be an adverb | 17:00 | |
17:35
TempIRCLogger left
17:36
lizmat_ joined,
RakuIRCLogger left
17:37
lizmat left,
lizmat_ left,
lizmat joined
18:05
discord-raku-bot left
18:06
discord-raku-bot joined
19:14
discord-raku-bot left
19:15
discord-raku-bot joined
20:39
hhcryfqnut joined
|
|||
Nahita | thank you @guifa | 20:43 | |
20:43
hhcryfqnut left
21:08
Guest1812 joined
22:11
Guest1812 left
22:14
Guest35 joined
|