🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs can be inspected at colabti.org/irclogger/irclogger_log/raku-dev | For MoarVM see #moarvm Set by lizmat on 26 April 2021. |
|||
00:02
reportable6 left
00:04
reportable6 joined
00:37
b2gills joined
01:33
kvw_5_ joined
01:37
kvw_5 left
03:26
squashable6 left,
sourceable6 left,
shareable6 left,
reportable6 left,
nativecallable6 left,
bloatable6 left,
unicodable6 left,
committable6 left,
releasable6 left,
quotable6 left,
statisfiable6 left,
linkable6 left,
tellable6 left,
greppable6 left,
evalable6 left,
bisectable6 left,
coverable6 left,
benchable6 left,
notable6 left,
benchable6 joined,
tellable6 joined,
evalable6 joined,
quotable6 joined,
statisfiable6 joined
03:27
coverable6 joined,
sourceable6 joined,
greppable6 joined
03:28
bisectable6 joined,
linkable6 joined,
shareable6 joined,
notable6 joined,
unicodable6 joined,
committable6 joined,
reportable6 joined,
squashable6 joined,
bloatable6 joined
03:29
nativecallable6 joined,
releasable6 joined
03:58
lucasb left
06:02
reportable6 left
06:03
reportable6 joined
06:39
stoned75 joined
08:03
Altai-man_ joined
08:04
sena_kun left
08:14
Altai-man_ left
08:16
sena_kun joined
|
|||
Geth | rakudo: 5331a1d801 | (Stoned Elipot)++ | src/core.c/Exception.pm6 Do not include falsy attribute in exception's message |
08:17 | |
rakudo: c7a078dec7 | niner++ (committed using GitHub Web editor) | src/core.c/Exception.pm6 Merge pull request #4365 from stoned/xnc-no-reason Do not include falsy attribute in exception's message |
|||
08:37
AlexDaniel` left
08:40
AlexDaniel` joined
|
|||
lizmat | am I the only one who would like to have .words to be more like .comb(/\w+/) instead of .split(\s+) ? | 09:05 | |
gfldex | lizmat: does \w+ actually work for all natural languages? | 10:12 | |
lizmat | it's using the Unicode property afaik | ||
so I assume the answer is yes? | 10:13 | ||
gfldex | m: dd 'Herr Müller-Lüdenscheit'.comb(/\w+/); | ||
camelia | ("Herr", "Müller", "Lüdenscheit").Seq | ||
gfldex | nope | ||
lizmat | ? | 10:14 | |
m: dd 'Herr Müller-Lüdenscheit'.words; | |||
camelia | ("Herr", "Müller-Lüdenscheit").Seq | ||
lizmat | gfldex: what am I missing? | ||
gfldex | In german double names are considered one word. Conceptually, .words sounds like it gives me the acutal words. | 10:15 | |
lizmat | m: dd 'Herr Müller_Lüdenscheit'.comb(/\w+/); | ||
camelia | ("Herr", "Müller_Lüdenscheit").Seq | ||
lizmat | German is using the wrong hyphen :-) | 10:16 | |
gfldex | m: dd 'Herr Müller‐Lüdenscheit'.comb(/\w+/); | ||
camelia | ("Herr", "Müller", "Lüdenscheit").Seq | ||
gfldex | that might actually be a bug | 10:17 | |
m: dd 'Herr Müller‑Lüdenscheit'.comb(/\w+/); | 10:18 | ||
camelia | ("Herr", "Müller", "Lüdenscheit").Seq | ||
gfldex | ‑ <-- that is the "don't line break here‼" variant | 10:19 | |
lizmat | as I said, \w is defined in some unicode property | 10:20 | |
if unicode doesn't consider - or ‑ to have that property, well, end of story then I'd say ? | |||
gfldex | The meaning of a hyphen (and other stuff) depends on the natural language. That sounds like ecosystem territory to me. So changing the meaning of .words in CORE seams to carry little utility. | 10:23 | |
lizmat | well, there's always .comb( / << \w+ >> / ) but that's soooo much slower :( | 10:24 | |
gfldex | Does it have to be? | ||
lizmat | good question: after trying to make Match faster, I figured the only way to do that, would be to refactor a lot of regex engine internals | 10:25 | |
I'm not ready to do that just yet.. | |||
stoned75 | hi. | 10:32 | |
Should I be surprised by the following ? | |||
> 1.^mro(:roles)[1].^name | 10:33 | ||
Real | |||
> 1.^mro(:roles)[1].HOW | |||
Perl6::Metamodel::ConcreteRoleHOW.new | |||
> 1.^mro(:roles)[1].WHAT | |||
(low-level object `Real`) | |||
> 1.^mro(:roles)[1].gist | |||
Cannot find method 'gist' on 'Real': no method cache and no .^find_method in block <unit> at <unknown file> line 1 | |||
> | |||
and idem for 1.^mro(:roles)[2] | 10:34 | ||
lizmat | m: Real ~~ Any | 10:35 | |
camelia | ( no output ) | ||
lizmat | m: dd Real ~~ Any | ||
camelia | Bool::True | ||
lizmat | m: dd 1.^mro(:roles)[1].WHAT | ||
camelia | (Real without .raku or .perl method) | ||
lizmat | stoned75: looks like that's the nqp role "Real" leaking out | 10:36 | |
stoned75 | so I suppose it is not expected ? | 10:37 | |
lizmat | no, expected | 10:56 | |
more a case of DIHWIDT | |||
? | 10:57 | ||
11:48
stoned75 left
12:02
reportable6 left
12:03
reportable6 joined
12:08
stoned75 joined
13:08
evalable6 left,
linkable6 left
13:09
linkable6 joined
13:10
evalable6 joined
14:29
thundergnat joined
|
|||
thundergnat | Don't really care for the idea of switching .words to mean .com(/\w+/). | 14:31 | |
m: say .comb(/\w+/), .split(/\s+/) given <don't won't can't Epsteian-Barr> | |||
camelia | (don t won t can t Epsteian Barr)(don't won't can't Epsteian-Barr) | ||
14:40
thundergnat left
15:35
epony left
16:11
epony joined
17:43
MasterDuke joined
18:02
reportable6 left
18:03
reportable6 joined
|
|||
Geth | nqp: usev6++ created pull request #722: [JVM] Keep correct REPR.name for native arrays |
20:35 | |
21:51
Xliff joined
23:46
linkable6 left,
evalable6 left
23:48
linkable6 joined
23:49
evalable6 joined
|