🦋 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. |
|||
00:00
holli joined
00:01
Doc_Holliwood left
00:03
Doc_Holliwood joined
00:04
Doc_Holliwould left
00:05
Doc_Holliwould joined
00:06
holli left
00:08
holli joined,
Doc_Holliwood left
00:11
Doc_Holliwood joined,
Doc_Holliwould left
00:14
holli left
00:15
Doc_Holliwould joined
00:16
Celelibi left
00:17
holli joined
00:18
Doc_Holliwood left
00:21
Doc_Holliwood joined,
Doc_Holliwould left
00:23
Doc_Holliwould joined
00:24
holli left,
sena_kun left
00:26
holli joined
00:27
Doc_Holliwood left
00:29
Doc_Holliwood joined
00:30
Doc_Holliwould left
00:31
Doc_Holliwould joined
00:32
holli left
00:34
holli joined,
leont left
00:35
Doc_Holliwood left
00:37
mowcat joined,
Doc_Holliwood joined,
Doc_Holliwould left
00:39
Doc_Holliwould joined
00:40
holli left
00:41
Celelibi joined
00:42
holli joined
00:43
Doc_Holliwood left
00:45
Doc_Holliwood joined
00:46
Doc_Holliwould left
00:47
leont joined,
Doc_Holliwould joined
00:48
holli left,
mowcat left
00:50
holli joined
00:51
Doc_Holliwood left
00:53
Doc_Holliwould left
00:54
Doc_Holliwood joined
00:55
Doc_Holliwould joined
00:56
squashable6 left,
holli left
00:57
squashable6 joined
00:58
holli joined
00:59
Doc_Holliwood left
01:02
Doc_Holliwould left,
Doc_Holliwood joined
01:04
Doc_Holliwould joined,
holli left
01:06
holli joined
01:07
Doc_Holliwood left
01:10
Doc_Holliwould left,
Doc_Holliwood joined
01:12
Doc_Holliwould joined
01:13
holli left
01:15
holli joined
01:16
Doc_Holliwood left
01:18
Doc_Holliwould left,
Doc_Holliwood joined
01:20
Doc_Holliwould joined
01:21
holli left
01:23
holli joined
01:24
Doc_Holliwood left
01:25
wamba left
01:26
Doc_Holliwood joined,
Doc_Holliwould left
01:28
Doc_Holliwould joined
01:29
holli left
01:31
holli joined
01:32
Doc_Holliwood left
01:35
Doc_Holliwood joined,
Doc_Holliwould left
01:36
Doc_Holliwould joined
01:37
holli left
01:39
holli joined
01:40
Doc_Holliwood left
01:43
Doc_Holliwould left,
Doc_Holliwood joined
01:44
Doc_Holliwould joined
01:45
holli left
01:47
holli joined
01:48
Doc_Holliwood left
01:51
Doc_Holliwould left,
Doc_Holliwood joined
01:53
Doc_Holliwould joined,
aborazmeh left
01:54
holli left
01:55
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
holli joined
01:56
Doc_Holliwood left
01:59
Doc_Holliwould left,
Doc_Holliwood joined
02:01
Doc_Holliwould joined,
holli left
02:03
cfa left,
holli joined
02:04
Doc_Holliwood left
02:07
Doc_Holliwood joined,
Doc_Holliwould left
02:09
Doc_Holliwould joined
02:10
holli left
02:12
holli joined
02:13
Doc_Holliwood left
02:15
Doc_Holliwood joined,
Doc_Holliwould left
02:17
Doc_Holliwould joined
02:18
holli left
02:20
molaf left,
holli joined,
Doc_Holliwood left
02:23
Doc_Holliwood joined,
Doc_Holliwould left
02:25
Doc_Holliwould joined
02:26
holli left
02:28
holli joined
02:29
Doc_Holliwood left
02:31
Doc_Holliwould left,
Doc_Holliwood joined
02:32
telex left,
molaf joined
02:33
telex joined,
Doc_Holliwould joined
02:34
holli left
02:35
lgtaube left
02:36
holli joined
02:37
Doc_Holliwood left
02:40
Doc_Holliwood joined,
Doc_Holliwould left
02:42
Doc_Holliwould joined,
holli left
02:44
holli joined
02:45
Doc_Holliwood left
|
|||
[Coke] wonders if there are any raku-ers in Florida. | 02:47 | ||
02:48
Doc_Holliwould left,
Doc_Holliwood joined
02:50
Doc_Holliwould joined
02:51
holli left
02:53
holli joined,
Doc_Holliwood left
02:55
Doc_Holliwood joined
02:56
Doc_Holliwould left
02:57
vike left
02:58
Doc_Holliwould joined
02:59
holli left,
leont left
03:01
holli joined
03:02
Doc_Holliwood left
03:05
Doc_Holliwould left,
Doc_Holliwood joined
03:07
Doc_Holliwould joined
03:08
holli left
03:09
holli joined
03:11
Doc_Holliwood left
03:13
Doc_Holliwould left,
Doc_Holliwood joined
03:15
Doc_Holliwould joined,
holli left
03:18
holli joined
03:19
Doc_Holliwood left
03:21
Doc_Holliwould left,
Doc_Holliwood joined
03:23
Doc_Holliwould joined
03:24
holli left
03:26
holli joined,
Doc_Holliwood left
03:29
Doc_Holliwood joined,
Doc_Holliwould left
03:31
Doc_Holliwould joined
03:32
holli left
03:34
holli joined
03:35
Doc_Holliwood left
03:37
Doc_Holliwould left
03:38
Doc_Holliwood joined
03:39
Doc_Holliwould joined
03:40
holli left
03:42
holli joined
03:43
Doc_Holliwood left
03:45
vike joined
03:46
Doc_Holliwood joined,
Doc_Holliwould left
03:47
Doc_Holliwould joined
03:48
holli left
03:50
holli joined
03:51
Doc_Holliwood left
03:54
Doc_Holliwood joined,
Doc_Holliwould left
03:56
Doc_Holliwould joined
03:57
holli left
03:58
holli joined
03:59
Doc_Holliwood left
04:02
Doc_Holliwould left,
Doc_Holliwood joined
04:04
Doc_Holliwould joined
04:05
holli left
04:07
holli joined,
Doc_Holliwood left
04:10
Doc_Holliwould left,
Doc_Holliwood joined
04:12
Doc_Holliwould joined
04:13
holli left
04:15
holli joined,
Doc_Holliwood left
04:19
Doc_Holliwood joined,
Doc_Holliwould left,
molaf left
04:20
Doc_Holliwould joined
04:21
holli left
04:23
holli joined
04:24
Doc_Holliwood left
04:26
Doc_Holliwood joined,
Doc_Holliwould left
04:28
Doc_Holliwould joined
04:29
holli left
04:31
holli joined
04:32
Doc_Holliwood left
04:35
Doc_Holliwood joined,
Doc_Holliwould left
04:37
Doc_Holliwould joined,
holli left
04:39
holli joined
04:40
Doc_Holliwood left
04:43
Doc_Holliwood joined,
Doc_Holliwould left
04:45
Doc_Holliwould joined
04:46
holli left
04:47
holli joined
04:48
Doc_Holliwood left
04:51
Doc_Holliwood joined,
Doc_Holliwould left
04:53
Doc_Holliwould joined
04:54
holli left
04:56
holli joined,
hungrydonkey left
04:57
Doc_Holliwood left
04:58
hungrydonkey joined
04:59
Doc_Holliwould left,
Doc_Holliwood joined
05:01
Doc_Holliwould joined
05:02
holli left
05:04
holli joined
05:05
Doc_Holliwood left
05:07
Doc_Holliwould left,
Doc_Holliwood joined
05:09
Doc_Holliwould joined
05:10
holli left
05:12
holli joined
05:13
Doc_Holliwood left
05:15
Doc_Holliwould left
05:16
Doc_Holliwood joined
05:17
x[LGWs4x4i]uG2N0 joined,
Doc_Holliwould joined
05:18
holli left
05:20
holli joined
05:21
Doc_Holliwood left
05:24
Doc_Holliwood joined,
Doc_Holliwould left
05:26
Doc_Holliwould joined
05:27
holli left
05:28
holli joined
05:29
Doc_Holliwood left
05:32
Doc_Holliwood joined,
Doc_Holliwould left
05:33
raven__ left
05:34
raven__ joined,
Doc_Holliwould joined
05:35
holli left
05:37
holli joined,
Doc_Holliwood left
05:39
Doc_Holliwood joined
05:40
Doc_Holliwould left
05:42
Doc_Holliwould joined
05:43
holli left
05:44
xelxebar left
05:45
holli joined
05:46
Doc_Holliwood left,
xelxebar joined
05:48
Doc_Holliwould left,
Doc_Holliwood joined
05:50
Doc_Holliwould joined
05:51
holli left
05:53
holli joined
05:54
Doc_Holliwood left
05:57
Doc_Holliwood joined,
Doc_Holliwould left
05:58
Doc_Holliwould joined
06:00
holli left
06:01
holli joined
06:02
Doc_Holliwood left
06:05
Doc_Holliwould left,
Doc_Holliwood joined
06:07
Doc_Holliwould joined
06:08
holli left,
xelxebar left
06:09
Sgeo_ left,
Sgeo_ joined,
holli joined
06:10
Doc_Holliwood left
06:11
aborazmeh left
|
|||
Geth | doc: a9ab6793cd | (Luis F. Uceta)++ | doc/Type/Attribute.pod6 Partially document the 'is built' trait |
06:12 | |
doc: 205c12e14c | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Attribute.pod6 Merge pull request #3250 from uzluisf/master Partially document the 'is built' trait |
|||
linkable6 | Link: docs.raku.org/type/Attribute | ||
06:13
Doc_Holliwould left,
Doc_Holliwood joined
06:15
Doc_Holliwould joined
06:16
holli left
06:17
[Sno] left
06:19
Doc_Holliwood left
06:26
NODE left
|
|||
Geth | doc/master: 4 commits pushed by (JJ Merelo)++ | 06:28 | |
06:28
NODE joined
|
|||
Geth | doc: 262eb515ba | (Stoned Elipot)++ | doc/Type/Mu.pod6 Fix link |
06:37 | |
linkable6 | Link: docs.raku.org/type/Mu | ||
06:52
abraxxa left
06:54
abraxxa joined
07:00
[Sno] joined
07:26
xelxebar joined
07:28
xelxebar left
07:29
xelxebar joined
07:35
stoned75 left
08:00
Doc_Holliwould left
08:16
orinthe8 joined
08:17
orinthe left,
orinthe8 is now known as orinthe
08:26
rindolf joined
08:39
El_Che left
09:09
dakkar joined
09:17
NODE left
09:19
NODE joined
09:36
cpan-raku left,
cpan-raku joined,
cpan-raku left,
cpan-raku joined
09:40
atroxaper joined,
pecastro joined
09:56
hungryd37 joined,
hungrydonkey left
09:58
mowcat joined
10:10
Black_Ribbon left
10:27
sena_kun joined
|
|||
sena_kun | .tell El_Che was there any success with the flag? If it doesn't go at all, there is a fix ready, so we can go the long route of cherry-picking and doing a point. | 10:29 | |
tellable6 | sena_kun, I'll pass your message to El_Che | ||
10:37
El_Che joined
10:40
lichtkind joined
10:49
Guest1277 joined
|
|||
Altreus | lizmat: Is there a value I can give to a slack to "unset" it so the slack runs again? Or would I have to provide a method on the object to set a new slack? | 10:59 | |
11:03
Doc_Holliwould joined
11:09
hacktor left
|
|||
Altreus | separately: Does raku have an index of common emoji names, to translate them to unicode? e.g. :thinking: | 11:16 | |
m: say "🤔".uniname | 11:17 | ||
evalable6 | THINKING FACE | ||
Altreus | as opposed to this ^ | ||
skaji_ | docs.raku.org/routine/uniparse | 11:18 | |
Altreus | yeah but no but | 11:21 | |
I'm on about this convention that seems to exist for putting :thinking: and having it Work, in various apps | |||
11:21
wamba joined
|
|||
Altreus | of course :thinking: is not a uniname | 11:21 | |
But surely it is part of some list somewhere? | |||
dakkar | Altreus: this seems to be a good approximation raw.githubusercontent.com/iamcal/e...emoji.json (from stackoverflow.com/questions/394908...hrough-api ) | 11:29 | |
Altreus | ayayay | 11:30 | |
hmm, yes maybe discord has a similar resource | |||
11:32
aluaces left
11:34
Altai-man_ joined
|
|||
Geth | doc: tbrowder++ created pull request #3251: change p6 to raku, chg .perl to .raku |
11:35 | |
11:36
sena_kun left
11:45
leont joined
|
|||
Altreus | is it necessary to =end pod on the last line of a file? | 12:00 | |
12:02
titsuki joined
12:04
Doc_Holliwould left
|
|||
tbrowder | it shouldn't be, but not good practice for public docs | 12:05 | |
i meant to say it's not necessary to end on the last line. | 12:12 | ||
i first read your question as whether you need an "=end pod" line. the answer is no since the end of file acts as the end of pod after a "=begin pod" | 12:15 | ||
in fact, a "=finish" line is a very rakuish way to stop file processing immediately--and very handy during development | 12:17 | ||
when porting perl code to raku | |||
12:21
hankache joined,
pecastro left
12:23
wamba left
|
|||
Geth | raku.org: 24351e3fec | (Naoum Hankache)++ (committed using GitHub Web editor) | source/downloads/index.html Update links |
12:40 | |
12:51
wamba joined,
squashable6 left
12:52
squashable6 joined
13:01
wamba left
13:03
MasterDuke left
13:05
wamba joined
|
|||
discord6 | <Highlander> [Coke]: not in Florida, but I'm one state over in Georgia | 13:13 | |
13:14
aluaces joined
13:17
titsuki left
13:24
Doc_Holliwould joined
13:26
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
Altreus | =finish has a similar effect to p5's __END__ ? | 13:30 | |
13:35
sena_kun joined
13:37
Altai-man_ left
13:38
Xliff joined
13:39
hankache_ joined,
mensvaga joined
13:43
hankache left
|
|||
lizmat | Altreus: conceivably would could create a special method name that could do that | 13:44 | |
Altreus: re =finish, yes except that the <DATA> handle is not set :-) | 13:45 | ||
Altreus | Is the slack a sort of magical transparent object so the actual property of my object never gets changed, but simply populated? | 13:46 | |
13:47
Xliff left
|
|||
Altreus | I'm guessing split no longer has the knowledge it did in P5, as to how many items it was being split into? | 13:54 | |
based on the assignment | 13:55 | ||
14:06
hankache joined
|
|||
lizmat | Altreus: there is no context in Raku | 14:07 | |
the only thing you can anticipate on, is the sinking of an object (when it is used in "void" context) | 14:08 | ||
m: class A { method sink() { say "sunk" } }; my $a = A.new; # nothing happens | |||
evalable6 | |||
lizmat | m: class A { method sink() { say "sunk" } }; A.new; # the object is sunk, by having its 'sink' method called | 14:09 | |
evalable6 | sunk | ||
14:09
hankache_ left
|
|||
Altreus | I like perl5's contexts but I also like raku's not contexts | 14:09 | |
lizmat | Altreus: wrt to slack, yeah, that's pretty magical | 14:10 | |
basically, *all* method calls on that object will *always* be a specific piece of code | |||
*handled by | |||
Altreus | I was suddenly confused because I was talking about emoji and someone showed me slack's list in JSON format | 14:11 | |
14:11
Doc_Holliwould left
|
|||
Altreus | but, hmm | 14:12 | |
Could there be a metamethod that resets it? | |||
is that a naughty use of meta? | |||
lizmat | you could argue that: this is where each method call is handled: github.com/lizmat/Object-Trampolin...ne.pm6#L12 | 14:14 | |
that magic is only possible with github.com/lizmat/Object-Trampolin...ine.pm6#L3 | 14:15 | ||
which consists of: github.com/lizmat/InterceptAllMeth...ethods.pm6 | 14:16 | ||
14:20
aborazmeh left
|
|||
Altreus | that looks arcane to me | 14:22 | |
:D | |||
lizmat | yeah, jnthn helped me with that one :-) | 14:25 | |
14:26
hankache left
14:29
molaf joined
14:40
atroxaper left
14:48
titsuki joined
15:06
wamba left
|
|||
Altreus | All of a sudden my raku rules for vim are making the thing slow to a crawl | 15:10 | |
It's the same perl6 stuff I got from ages ago | |||
15:12
wamba joined
15:13
wamba left
15:14
titsuki left
15:22
wamba joined
|
|||
abraxxa | same here | 15:26 | |
x[LGWs4x4i]uG2N0 | rakudo.org/post/announce-rakudo-st...se-2020.01 says "I'm pleased to announce the March 2019" | 15:27 | |
15:31
cfa joined
15:34
Altai-man_ joined
15:35
molaf left
|
|||
lizmat | oops... :-) | 15:36 | |
15:36
sena_kun left
|
|||
masak .oO( it's just a jump to the left ) | 15:38 | ||
15:39
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
cfa | o/ | 15:57 | |
15:59
wamba left
16:08
wamba joined,
KotH left,
KotH joined
|
|||
tobs | I did a bit of research on Rational.base-repeating. The docs mention that it will stop looking for repeating digits after 1_000. Old design docs say 100_000 and since March 2015 Rakudo actually doesn't enforce any limit anymore. | 16:11 | |
I think the reason for that limit in the old specs was that you can conceivably use base-repeats to make Rakudo generate around $n bytes of data when fed a number close to $n, so only log($n) bits. A DoS kind of scenario. | 16:12 | ||
Does anyone have a feeling if this is a documentation or a Rakudo bug? | 16:13 | ||
Maybe there should not be a limit and the docs should state that but warn the user to sanitize their inputs? | 16:14 | ||
Altreus | I wish I understood that because it looks interesting | 16:15 | |
tobs | Can't hurt to file it for Rakudo, I think... | 16:25 | |
cfa | tobs: github.com/rakudo/rakudo/commit/418c1f33a1 | 16:27 | |
namely, github.com/rakudo/rakudo/commit/41...6e9d15L137 | 16:28 | ||
the only limit i can see is in the old, replaced algorithm | |||
16:28
Doc_Holliwould joined
|
|||
cfa | which is what i think you're referring to | 16:28 | |
tobs | cfa: yes, there was a limit before and now there's no limit, right? | 16:30 | |
cfa | afaict | ||
tobs | R#3515 | 16:41 | |
linkable6 | R#3515 [open]: github.com/rakudo/rakudo/issues/3515 Missing limit on Rational.base-repeating | ||
16:42
leont left,
hacktor joined
16:43
rypervenche left
16:47
rypervenche joined
17:05
a3r0 left
17:06
hankache joined
17:08
jmerelo joined
17:09
Guest1277 left
17:24
wildtrees joined
17:28
MasterDuke joined
17:30
chloekek joined
17:31
dakkar left
17:35
sena_kun joined
17:37
Altai-man_ left,
aborazmeh left
17:41
Doc_Holliwould left
17:49
aborazmeh joined,
aborazmeh left,
aborazmeh joined
17:59
wamba left
18:03
hungryd37 left
18:08
MasterDuke left
|
|||
rypervenche | Why might my EXPORT sub not be working? gist.github.com/rypervenche/af5137...777257af80 | 18:10 | |
18:10
Doc_Holliwould joined
|
|||
rypervenche | My grammar and actions rakumod files are here if needed: gist.github.com/rypervenche/ad0b24...886d91a40d and gist.github.com/rypervenche/d60568...2f509b6d97 | 18:11 | |
Altreus | cos desktop-dir and documents-dir are not videos-dir? | ||
rypervenche | Oh, bad output. I changed the variable I was using. | ||
Altreus | damn, I thought I was clever | 18:12 | |
rypervenche | Haha. I have more variables in the hash, but that's essentially what it looks like. raku-debug said Circular module loading detected trying to precompile /home/rypervenche/.raku/sources/3E687CA5BFB386524F923BAC2F986CC3C66BD24F so I'm wondering if I did all of the "use" things incorrectly. | ||
Altreus | nothing here suggests circular, but it doesn't show User::Dirs::Grammar or User::Dirs::Actions so who knows! | 18:14 | |
rypervenche | Altreus: My User::Dirs::Grammar and User::Dirs::Actions are in the two gists just above. | 18:19 | |
Altreus | oops, missed that | ||
doesn't look circular, no | |||
it's usually pretty clear where | |||
Also I'm surprised it isn't reporting the real name of the source it's complaining about | 18:20 | ||
rypervenche | Could it be anything with my not zef installing the module? I'm just running it from the directory. | ||
18:21
wamba joined
|
|||
Altreus | not usually an issue | 18:21 | |
This might be a more subtle thing than I'm able to help with | 18:23 | ||
rypervenche | Thanks for taking a look. | ||
Altreus | It might be a compile time vs runtime thing | ||
hey what if you put all of that inside sub EXPORT? | |||
rypervenche | I tried manually putting a hash inside of the EXPORT sub and same thing. Said it is not declared. | 18:24 | |
Altreus | good test! No idea though | ||
rypervenche | I've been following this: docs.raku.org/language/modules#EXPORT | ||
Altreus | yeah :z | ||
was gonna suggest taht | |||
eh i should go home | 18:25 | ||
18:30
MasterDuke joined
18:37
molaf joined
18:45
[Sno] left
18:48
abraxxa left
18:49
abraxxa joined,
abraxxa left
|
|||
rypervenche | If anyone else has any ideas what I may have done wrong, I'd appreciate it. The information is here: gist.github.com/rypervenche/af5137...777257af80 and I threw the module up on gitlab here: gitlab.com/rypervenche/user-dirs . | 18:50 | |
18:53
aborazmeh left
18:55
lgtaube joined,
Doc_Holliwould left
|
|||
guifa | rypervenche: can you dd the %vars hash? | 19:05 | |
rypervenche | Ahhh, that might be the problem: Hash %vars = {("\$desktop-dir") => "/home/rypervenche/桌面", ("\$documents-dir") => "/home/rypervenche/文件"} | 19:07 | |
19:09
dansolo42 left
|
|||
rypervenche | Not sure if those parentheses are the problem? dd %var<$desktop-dir> gives Str %vars = "/home/rypervenche/桌面" | 19:11 | |
19:25
sauvin left
|
|||
guifa | what does %var<$desktop-dir>.WHAT give you? If it’s not a Str it’s probably going to cause problems | 19:27 | |
rypervenche | It shows (Str) | 19:29 | |
19:33
natrys joined
19:34
Altai-man_ joined
19:37
sena_kun left
|
|||
guifa | Hmm. Okay, try just sub EXPORT { %( ‘$foo’ => ‘bar’ ) } and see if you can access $foo. | 19:37 | |
rypervenche | Variable '$foo' is not declared | 19:40 | |
guifa | Hmm, now that’s just odd | 19:42 | |
lizmat | in what scope is sub EXPORT ? | 19:44 | |
it should be in the outer scope, and not within the class | |||
rypervenche | It's in the module's main file: gitlab.com/rypervenche/user-dirs/-...rs.rakumod | 19:45 | |
cfa | hmm, is there a (potentially ecosystem) variant of 'is default' that will take a block? | 19:46 | |
so that defaults can be calculated | |||
19:49
reach_satori left
19:50
reach_satori joined
19:57
aborazmeh joined,
aborazmeh left,
aborazmeh joined
19:59
chloekek left
|
|||
jnthn | cfa: No, and it'd have to work very differently from `is default` in core, which is actually quite a low-level mechanism. | 20:02 | |
20:04
wamba left
|
|||
rypervenche | lizmat: Ahh, I just read up on "unit". I understand now. Thanks. | 20:04 | |
cfa | jnthn: noted, thanks | 20:05 | |
Geth | doc: tbrowder++ created pull request #3252: proposed table of Raku vs. Perl 6 deprecations |
||
20:06
jmerelo left
|
|||
cfa | (this is a moosism that i forget isn't directly translatable) | 20:06 | |
i often* forget | |||
lizmat | cfa: but if it is about attributes, has $.a takes thunks! | 20:07 | |
m: class A { has $.a is required; has $.b = 2 * $!a }; dd A.new(:42a) | |||
evalable6 | A.new(a => 42, b => 84) | ||
jnthn | Indeed, for there it's no problem :) | 20:09 | |
And for Scalars you just assign the value | |||
cfa | nice | ||
so, | |||
jnthn | For arrays and hashes you can mix in an AT-POS / AT-KEY that vivifies it | ||
20:09
NODE left,
Benett left
|
|||
cfa | m: { .say for .new, .new, .new } given class { my Int $id; has $.a = ++$id } | 20:10 | |
evalable6 | <anon|1>.new(a => 1) <anon|1>.new(a => 2) <anon|1>.new(a => 3) |
||
20:10
Benett joined
|
|||
cfa | m: { .say for .new, .new(:42a), .new } given class { my Int $id; has $.a = ++$id } | 20:12 | |
evalable6 | <anon|1>.new(a => 1) <anon|1>.new(a => 42) <anon|1>.new(a => 2) |
||
cfa | which feels defaulty :) | ||
jnthn | An `is default` trait also wouldn't give you access to other attributes | 20:13 | |
Whereas this syntax does | |||
20:14
sno joined
|
|||
cfa nods | 20:16 | ||
20:16
Benett left
|
|||
MasterDuke | [Coke]: i think vrurg is in Florida | 20:16 | |
vrurg | MasterDuke: what are you replying to? | 20:18 | |
cfa | lizmat: hmm, this seems underdocumented to me | 20:19 | |
20:19
lucasb joined
|
|||
cfa | lizmat: unless i'm just missing something obvious | 20:19 | |
lizmat | cfa: what seems, the thunking ? or "is default" ? | ||
cfa | has taking thunks, yeah | ||
lizmat | please submit a doc issue if you cannot find something :-) | ||
MasterDuke | vrurg: colabti.org/irclogger/irclogger_lo...02-26#l143 | 20:20 | |
20:20
Benett joined
|
|||
vrurg | [Coke]: confirming. Do you need something? | 20:21 | |
MasterDuke: thanks! | |||
lizmat | cfa: has $.destination = self.origin eq 'Orlando' ?? 'Kampala' !! 'Orlando'; | ||
m: class A { has $.a is required; has $.b = 2 * self.a }; dd A.new(:42a) | 20:22 | ||
evalable6 | A.new(a => 42, b => 84) | ||
20:26
hankache left
20:32
vike left,
NODE joined,
chloekek joined
|
|||
cfa | lizmat: yeah, i saw that example while searching | 20:35 | |
the explanatory text is about 'is required', not the thunk, though | |||
lizmat | please file a doc issue :) | 20:37 | |
or even better, provide a PR :-) | |||
cfa | i would if i could but i can't | 20:41 | |
can't currently log into github | |||
i'm also not sure whether i've been migrated over to the new raku contributors org or not | 20:42 | ||
with push access etc. | |||
20:56
vike joined
20:58
wamba joined
21:05
Black_Ribbon joined,
aborazmeh left
21:09
squashable6 left,
Eva45 joined
|
|||
Eva45 | yip.su/22N4A5.jpeg | 21:09 | |
tadzik | that's spam | 21:11 | |
21:11
squashable6 joined
|
|||
Eva45 | 2no.co/22N4A5.jpeg | 21:15 | |
skyl4rk | I bet that's spam as well then | 21:20 | |
21:21
cognomin_ joined
|
|||
tadzik | not sure who's op here | 21:21 | |
Eva45 | 2no.co/22N4A5.jpeg | 21:22 | |
lizmat | moritz and jnthn are afaik | 21:23 | |
21:24
Eva45 left
21:25
cognominal left
21:35
sena_kun joined
21:36
Altai-man_ left
21:37
NODE left
21:46
NODE joined
21:50
stoned75 joined
21:52
rindolf left
21:54
pecastro joined
|
|||
moritz | 23:01 -ChanServ(ChanServ@services.)- You are not authorized to (de)op moritz on #raku. | 22:02 | |
seems I'm not :( | |||
Grinnz | chanserv says juerd, AlexDaniel`, mst, jnthn | 22:03 | |
probably there were more in the old channel that havent been set up | |||
22:08
leont joined
22:20
NODE left
22:24
wildtrees left
22:25
wildtrees joined
22:31
NODE joined
|
|||
[Coke] waves at discord6 from Tampa | 22:39 | ||
vrurg: nope, just in state for business for a bit | 22:40 | ||
22:40
wamba left
22:41
wamba joined
22:45
NODE left
22:46
Benett left,
Benett joined,
NODE joined
22:51
Benett left,
Benett joined
22:52
Benett left,
Benett joined
|
|||
vrurg | [Coke]: I'm on the east coast, ~4hrs driving to Tampa. | 22:55 | |
tellable6 | 2020-02-26T22:14:32Z #raku-dev <lizmat> vrurg sorry, but the big rewrite broke Text::CSV, so I've reverted them :-( | ||
23:04
NODE left
23:06
NODE joined
23:09
wamba left
23:13
natrys left
|
|||
vrurg | [Coke]: if you plans include West Palm Beach area or south of it, ping me! :) | 23:19 | |
23:24
chloekek left
23:34
Altai-man_ joined,
hungrydonkey joined
23:36
sena_kun left
|
|||
Geth | ¦ problem-solving: ToddAndMargo assigned to jnthn Issue qqx not picking up quotes in Windows 7 github.com/Raku/problem-solving/issues/166 | 23:36 | |
23:57
mowcat left
|