🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 6 September 2022. |
|||
00:01
Guest68 joined
00:05
NemokoschKiwi joined,
NemokoschKiwi left
00:06
reportable6 left,
reportable6 joined
00:17
Kaiepi left
|
|||
ugexe | Inline::Perl5 probably | 00:24 | |
Nemokosch | Do you think it's worth porting? | 00:33 | |
ugexe | it would require porting OLE:: modules to interface with word files, which itself would be worth while | 00:35 | |
Nemokosch | Jeff Goff had such a module | 00:37 | |
raku.land/cpan:JGOFF/OLE::Storage_Lite | 00:39 | ||
00:43
habere-et-disper left
01:20
razetime joined
01:31
sgrs left
01:37
lucerne left
01:54
euandreh left
02:54
evalable6 left
02:56
evalable6 joined
03:06
Kaiepi joined
03:43
MasterDuke left
|
|||
kybr | hello! its been a while. i am writing some Raku again. fun. | 03:50 | |
m: given <1 2> { for .words { .^name.say; .say; .Numeric.say } } | |||
camelia | Str 1 1 Str 2 2 |
||
kybr | that's what i expect | ||
m: given <3> { for .words { .^name.say; .say; .Numeric.say } } | |||
camelia | IntStr 3 0 |
||
kybr | this is unexpected. | ||
can someone tell me why .Numeric.say gives me a 0 in the second case? | 03:52 | ||
m: given <3> { for .comb(/ \S+ /) { .^name.say; .say; .Numeric.say } } | 04:14 | ||
camelia | Str 3 3 |
||
04:40
sortiz joined
|
|||
jdv | anyone know if this is a bug in whateverable or rakudo?: gist.github.com/jdv/30b6102a575de7...a9d9f557b6 | 04:41 | |
04:55
Guest68 left
05:55
squashable6 left,
linkable6 left,
unicodable6 left,
bisectable6 left,
greppable6 left,
notable6 left,
benchable6 left,
tellable6 left,
reportable6 left,
evalable6 left,
quotable6 left,
releasable6 left,
shareable6 left,
coverable6 left,
committable6 left,
sourceable6 left,
nativecallable6 left,
statisfiable6 left,
bloatable6 left,
quotable6 joined
05:56
coverable6 joined,
sourceable6 joined,
evalable6 joined,
notable6 joined,
nativecallable6 joined
05:57
shareable6 joined,
benchable6 joined,
reportable6 joined,
unicodable6 joined,
bloatable6 joined
05:58
linkable6 joined,
releasable6 joined,
committable6 joined,
squashable6 joined,
tellable6 joined,
statisfiable6 joined,
bisectable6 joined,
greppable6 joined
06:08
reportable6 left
06:09
reportable6 joined
06:15
Sgeo left,
Sgeo_ joined
06:36
coleman left,
coleman joined
06:41
coleman left
06:44
coleman joined
06:50
abraxxa joined
06:56
Xliff_ left,
abraxxa left
06:57
abraxxa joined
07:29
coleman left
07:31
coleman joined
07:34
coleman left
07:35
corwin left
07:51
sortiz left
07:52
razetime left
08:02
corwin joined
08:03
Sgeo_ left
08:10
razetime joined
08:24
abraxxa left
08:27
abraxxa joined
08:29
Kaiepi left
08:50
coleman joined
08:55
abraxxa left
08:56
abraxxa joined
|
|||
Nemokosch | kybr: first off, I'd say your code is a bad idea - <1 2> is a list and <3> is an IntStr, especially for the former, you have no reason to call .words on it and it's sheer luck that it worked | 09:01 | |
second, you can be right regardless that calling words on IntStr gives a weird result. I think it's Str.words that gets called and probably it simply wasn't ready to support an IntStr | 09:02 | ||
I wouldn't be surprised if this was a general semantics problem of allomorph types - once you start to use it as a certain one of its supported types, you are gonna lose a lot of information required for other types | 09:04 | ||
the reason comb works right is probably that it has a method on Allomorph that takes precedence over the method on Str | 09:11 | ||
09:11
dakkar joined
09:21
razetime left
|
|||
github.com/rakudo/rakudo/pull/5107 there you go | 09:21 | ||
09:22
razetime joined
09:34
ingy left
09:35
ingy joined
09:39
xinming left
09:46
pierrot left,
pierrot joined
09:53
linkable6 left,
sena_kun joined
09:55
linkable6 joined
09:59
lichtkind joined
10:03
Kaiepi joined
10:21
sena_kun left
10:25
jpn joined
10:34
equinox joined
10:40
mat40 joined
10:45
mat40 left
10:53
abraxxa left
10:55
abraxxa joined
11:00
jjido joined,
abraxxa left
11:01
abraxxa joined,
euandreh joined
11:04
euandreh left
11:05
euandreh joined
11:07
sena_kun joined
11:16
jjido left
11:24
pjlsergeant left,
pjlsergeant joined
11:55
xinming joined
12:04
habere-et-disper joined
12:07
reportable6 left
12:09
reportable6 joined
12:13
jjido joined
12:45
equinox left
13:27
sgrs joined
13:31
derpydoo joined
13:55
equinox joined
14:00
jjido left
14:05
habere-et-disper left
14:11
jpn left
14:27
vrurg left,
coleman left
14:28
vrurg joined
14:36
jpn joined
14:37
Guest6688 joined,
vrurg left
14:38
vrurg joined
14:50
xinming left
14:51
xinming joined
15:00
Sgeo joined
15:02
coleman joined
15:08
Guest6688 left
15:10
Guest664 joined
15:30
razetime left
16:30
evalable6 left,
linkable6 left
16:31
linkable6 joined
16:33
evalable6 joined
16:38
Guest664 left
17:17
Guest6647 joined
17:34
dakkar left
17:41
sena_kun left
17:48
Guest6647 left
17:56
Guest6667 joined
18:07
reportable6 left
18:08
reportable6 joined
18:15
lichtkind left,
derpydoo left
18:18
sena_kun joined
18:20
abraxxa left
18:44
jjido joined
19:19
Guest6667 left
19:41
Maylay_ left
19:43
Nemokosch joined
19:53
equinox left
19:54
Maylay joined
19:58
Nemokosch left
20:08
jpn left
20:09
jpn joined
20:14
habere-et-disper joined,
jpn left
20:17
Maylay left
20:18
jpn joined
20:20
Maylay joined
20:39
ToddAndMargo joined
|
|||
ToddAndMargo | What am I doing wrong here?  `$Win64Bit =Q["C:\Program Files (x86)"].IO.d.Boo`; gives me | 20:40 | |
K:\Windows\NtUtil>raku PopUpTest2.pl6 | |||
Failed to find 'K:\Windows\NtUtil\"C:\Program Files (x86)"' while trying to do '.d' | |||
How did `Q["C:\Program Files (x86)"]` turn into `K:\Windows\NtUtil\"C:\Program Files (x86)"`? Why is it appending my current working directory into the path? | 20:41 | ||
I figured it out. It does not like the path quoted | 20:42 | ||
20:51
Kaiepi left
21:02
Kaiepi joined
21:03
Maylay left
21:11
Maylay joined
21:18
Maylay left
21:29
sgrs left
21:35
Guest6645 joined
21:36
Maylay joined
21:49
jpn left
21:53
sgrs joined
22:05
jpn joined
|
|||
[Coke] | Q[ is already quoted | 22:13 | |
" is a literal quote at that poiny | |||
22:15
euandreh left
22:16
euandreh joined
22:19
euandreh left
22:20
euandreh joined
|
|||
ToddAndMargo | I put the quotes in by accident as I have been having to constantly do it from the windows command line. Why did the quote prepend the current working directory? | 22:26 | |
22:26
tirnanog joined
|
|||
[Coke] | because you gaved it a relative path | 22:30 | |
*gave | |||
it couldn't recognize literal double quote as an absoulte path | |||
22:31
euandreh left
22:38
jpn left
22:43
euandreh joined
22:48
Guest6645 left
22:50
euandreh left
22:58
euandreh joined
23:03
jpn joined
|
|||
ToddAndMargo | That explains it . Thank you! | 23:06 | |
23:08
jpn left
23:11
Kaiepi left
23:19
Guest15 joined
23:21
jpn joined
23:22
sena_kun left
|
|||
ToddAndMargo | Native Call question. I have a Pointer. It points to a structure of $p bytes. How do I read that into a Buf of $p bytes? | 23:27 | |
23:44
perlbot left,
perlbot joined
23:50
epony left
23:54
jpn left
|