»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
MasterDuke | m: multi foo($a) { say "1 $a" }; multi foo($a, $b, Int() $c) { say "3 with Int coercer $a $b $c" }; multi foo($a, $b) { say "2 $a $b"; samewith($a, $b, ("_OK" => 2, "_Cancel" => 3)) }; multi foo($a, $b, @c) { say "3 with array $a $b @c[]" }; multi foo(|c) { say "c " ~ c }; foo(4, 5) | 00:03 | |
evalable6 | 2 4 5 3 with array 4 5 _OK␉2 _Cancel␉3 |
||
MasterDuke | Xliff: ^^^ looks pretty similar to what you have? but doesn't seem to have any problems | ||
Xliff | MasterDuke: Try methods | 00:04 | |
m: class A { multi method foo($a) { say "1 $a" }; multi method foo($a, $b, Int() $c) { say "3 with Int coercer $a $b $c" }; multi method foo($a, $b) { say "2 $a $b"; samewith($a, $b, ("_OK" => 2, "_Cancel" => 3)) }; multi method foo($a, $b, @c) { say "3 with array $a $b @c[]" }; multi method foo(|c) { say "c " ~ c }; }; A.new.foo(4, 5) | 00:05 | ||
evalable6 | 2 4 5 3 with array 4 5 _OK␉2 _Cancel␉3 |
||
Xliff | Huh. | ||
MasterDuke: If you want to see the problem in action, you can always check out p6-GtkPlus. ;) | 00:06 | ||
It takes a LONG time to compile, but maybe not if you run an example. | |||
Checkout latest, and uncomment the block starting here: github.com/Xliff/p6-GtkPlus/blob/m...r.pm6#L113 | 00:07 | ||
Then run github.com/Xliff/p6-GtkPlus/blob/m...erdialog.t | 00:08 | ||
Unfortunately, you will also need: github.com/Xliff/p6-Pango.git | |||
I need to split this up! | |||
Geth | doc: 2f1f7c2d5a | Coke++ | 2 files fix typo |
00:12 | |
doc: a331ec8a94 | Coke++ | xt/words.pws learn new words |
|||
MasterDuke | Xliff: should that test die right away? | 00:17 | |
Xliff | With that block uncommented? Yes. | ||
You should get the circularity message in the console. | 00:18 | ||
MasterDuke | it popped up a dialogue box, i selected a file, clicked exit. it then finished just fine. no circularity message (that block was uncommented) | ||
Xliff | What's your rakudo version? | ||
MasterDuke | This is Rakudo version 2019.03.1-203-g3060d1d0b built on MoarVM version 2019.03-76-gc10fee65c | 00:19 | |
Xliff | 2019.03.1-202-gad8b5a649 | ||
Oh lordy. Really? | |||
MoarVM version 2019.03-75-g9b1b60f66 | 00:20 | ||
Huh. | |||
MasterDuke: Enough variation to warrant a test. But if it works on your end, I'm not going to sweat too much. | 00:21 | ||
I have the fix in place, now. | |||
I'll recompile, later. Working on another issue. | |||
MasterDuke | btw, i think there was some discussion that github.com/rakudo/rakudo/commit/09...63b30b8ee4 might help your problem with modules recompiling more than they should | 00:22 | |
Xliff | Ooh! Thank you! | 00:24 | |
MasterDuke | i wouldn't take my word for it though, should check with nine and/or ugexe | 00:25 | |
Xliff | ugexe gave me some tips a couple of days ago. Seems to work better, but I've started developing via dual-boot rather than a VM. | 00:26 | |
Still am having to recompile a LOT, so maybe I will try the next rakudo pull, soon. | |||
00:36
sauvin left
00:46
w_richard_w joined
00:47
sauvin joined
01:26
khisanth_ left
01:40
khisanth_ joined
01:42
netrino left
01:55
vrurg left,
vrurg joined
02:01
Manifest0 left
02:02
Manifest0 joined
|
|||
Xliff | How can I force a rebuild of moar when it doesn't respond to a bump? | 02:14 | |
02:25
vrurg left,
vrurg joined
|
|||
elcaro | Xliff: You could always just delete rakudo/nqp/MoarVM <- this dir | 02:35 | |
rakudo builds nqp into the nqp folder, and moar into the nqp/moarvm folder... so just delete the moarvm folder, and the build script will pull a fresh copy and build | 02:36 | ||
02:43
xiaoyafeng joined
|
|||
Xliff | elcaro: Thanks! I switched to moar-blead for the time being. | 02:47 | |
What do I need to do to get CPAN to pull changes from git? | 02:57 | ||
Elronnd | anyone know about the IRC::Client library? Why can't I reply to or send from an irc-join? | 03:05 | |
And, why does the .reply method prepend the nickname of the user who's being replied to? | |||
03:10
Cabanossi left
03:11
AlexDani` joined
03:13
Cabanoss- joined
03:16
AlexDaniel left
03:36
hamhu3_ left
03:37
hamhu3 joined
03:38
vrurg left
03:39
vrurg joined
03:56
yuriii joined
|
|||
Xliff | m: PI.fmt('%.2f').say | 04:08 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/Xsc31pQN5I Undeclared name: PI used at line 1 |
||
04:08
|Sno| left
|
|||
Xliff | m: 3.14159.fmt('%.2f').say | 04:08 | |
evalable6 | 3.14 | ||
04:22
kaare_ joined
04:25
xinming_ joined
04:27
xinming left
04:35
ayerhart left
04:40
atroxaper joined
|
|||
Elronnd | m: pi.fmt('%.2f').say | 04:41 | |
evalable6 | 3.14 | ||
Xliff | Yeah. I figgered that. :) | 04:45 | |
m: say "{$++}" for ^5 | |||
evalable6 | 0 0 0 0 0 |
||
Xliff | m: say "{++$}" for ^5 | ||
evalable6 | 1 1 1 1 1 |
||
Xliff | Well crap. | 04:46 | |
m: say "{++$}/{++$}/{++$}/{++$}" for ^5 | |||
evalable6 | 1/1/1/1 1/1/1/1 1/1/1/1 1/1/1/1 1/1/1/1 |
||
Xliff | m: say sprintf("%d", $++) for ^5 | ||
evalable6 | 0 1 2 3 4 |
||
Xliff | /o\ | ||
04:53
ayerhart joined
05:00
antoniogamiz joined
|
|||
discord6 | <Tyler (Aearnus)> what's the standard way to bundle up a perl6 script to be installed to a bin directory? (something akin to Haskell Stack or Ruby Bundler) | 05:43 | |
05:46
mowcat left
05:53
abraxxa joined
05:57
abraxxa left
|
|||
Xliff | m: say (1, 2, 3) >>*<< 2 | 06:05 | |
evalable6 | (exit code 1) Lists on either side of non-dwimmy hyperop of infix:<*> are not of the same length while recursing left: 3 elements, right: 1 elements in block <unit> at /tmp/_gfxijvFHJ line 1 |
||
Xliff | m: say (1, 2, 3) <<*>> 2 | 06:07 | |
evalable6 | (2 4 6) | ||
06:09
cpan-p6 left,
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
06:10
zacts joined
06:11
abraxxa joined
06:13
silug left
06:23
robertle joined
06:25
silug joined
06:26
ravenousmoose joined
06:32
patrickb joined
06:45
jmerelo joined
06:48
reach_satori left
06:50
ufobat joined
06:51
ufobat_ left
06:55
domidumont joined
07:05
rindolf joined
|
|||
discord6 | <Tyler (Aearnus)> why doesn't this grammar work? grammar G { token TOP { <proof> | <paragraph> }; rule paragraph { [\S\N+]+ }; rule proof { [\s+(\N+)]+ } }; G.parse("hello\nworld\n") # => Grammar::Debugger says it matches, but it returns nil | 07:10 | |
07:11
reach_satori joined
|
|||
discord6 | <Tyler (Aearnus)> hmm, it works with #subparse. looks like it isn't consuming all my input. | 07:15 | |
07:17
reach_satori left
07:20
reach_satori joined
07:25
reach_satori left,
robertle left
07:27
antoniogamiz left,
ayerhart left
07:31
ayerhart joined
|
|||
jmerelo | Tyler: I think you're not capturing the output. You need to surround the result with parentheses | 07:40 | |
Xliff | m: my @a = <a b c>; say "abccc" ~~ /{ @a }..../.gist; | 07:43 | |
evalable6 | False | ||
Xliff | m: my @a = <a b c>; say "abccc" ~~ /@a.../.gist; | ||
evalable6 | False | ||
Xliff | m: my @a = <a b c>; say "abccc" ~~ /{@a}.../.gist; | ||
evalable6 | False | ||
Xliff | m: my @a = <a b c>; say "abccc" ~~ /{@a}.../; | ||
evalable6 | 「abc」 | ||
Xliff | m: my @a = <a b c>; say "bbccc" ~~ /{@a}.../; | ||
evalable6 | 「bbc」 | ||
Xliff | m: my @a = <a b c>; say "cbccc" ~~ /{@a}.../; | 07:44 | |
evalable6 | 「cbc」 | ||
Xliff | m: my @a = <a b c>; say "cbccc" ~~ /$<ad>={@a}.../; | ||
evalable6 | 「cbc」 ad => 「」 |
||
Xliff | m: my @a = <a b c>; say "cbccc" ~~ /$<ad>={ @a }.../; | ||
evalable6 | 「cbc」 ad => 「」 |
||
Xliff | m: my @a = <a b c>; say "cbccc" ~~ /$<ad>=@a.../; | ||
evalable6 | 「cbcc」 ad => 「c」 |
||
Xliff | m: my @a = <a b c>; say "abccc" ~~ /$<ad>=@a.../; | 07:45 | |
evalable6 | 「abcc」 ad => 「a」 |
||
07:47
ufobat left
|
|||
Xliff | m: sub _aa { 1 }; say _aa | 07:51 | |
evalable6 | 1 | ||
07:55
zakharyas joined
|
|||
kawaii | morning o/ | 07:58 | |
jmerelo | kawaii: hi! | 07:59 | |
kawaii: how's next version going? | |||
releasable6: status | |||
releasable6 | jmerelo, Next release in ≈5 days and ≈11 hours. 12 blockers. 0 out of 204 commits logged | ||
jmerelo, Details: gist.github.com/c902fc4b783e3b5e7a...c58fb76f7f | |||
kawaii | jmerelo: looks like there are some blockers, was going to ask AlexDaniel if we're still going ahead with the planned release in 5 days or not (unless they all get magically fixed in that time), the tests with Blin report no regressions though. | 08:00 | |
jmerelo | kawaii: great :-) AlexDaniel is back to release master? (or whatever the title) | 08:01 | |
kawaii | jmerelo: no, he's not, but since this the next release is my first I'm taking a lot of guidance from him :) | ||
jmerelo | kawaii: best of luck! | 08:02 | |
08:07
dakkar joined
08:22
xiaoyafeng left
08:33
ravenousmoose_ joined
|
|||
lizmat | weekly: github.com/manwar/perlweeklychalle...l5/ch-1.pl | 08:34 | |
notable6 | lizmat, Noted! | ||
lizmat | weekly: engineering.purdue.edu/~mark/perl-.../003/t.pdf | ||
notable6 | lizmat, Noted! | ||
lizmat | weekly: perl6.eu/regular-pascal.html | ||
notable6 | lizmat, Noted! | ||
Geth | doc: 4d91061824 | (JJ Merelo)++ | doc/Language/list.pod6 Minor corrections and reflow |
08:35 | |
synopsebot | Link: doc.perl6.org/language/list | ||
doc: d16658914d | (JJ Merelo)++ | 2 files Creates a new file for statement prefixes. This is for #534, but mainly for #2034 Still way to go. |
|||
08:35
ravenousmoose left
08:37
pat_js joined
08:42
Manifest0 left
08:47
Manifest0 joined
|
|||
Geth | doc: 4ef6886f54 | (JJ Merelo)++ | doc/Language/statement-prefixes.pod6 Fixes description of lazy statement prefix, refs #534 #2034 Thanks for @jnthn clarification in perl6/roast#529 |
08:52 | |
synopsebot | Link: doc.perl6.org/language/statement-prefixes | ||
08:56
w_richard_w left
09:04
ravenousmoose_ left,
ravenousmoose_ joined
09:17
Manifest0 left
09:22
Manifest0 joined
09:28
sena_kun joined
09:39
Black_Ribbon left
09:40
atroxaper left
09:51
zacts left
09:57
ufobat joined
10:22
mowcat joined
10:30
mowcat left
10:33
pat_js left
|
|||
timotimo | is there some way to force bash to complete a filename? | 10:41 | |
it drives me absolutely nuts to not be able to tab in some places | |||
like after "gdb --args" it won't autocomplete anything any more | |||
jmerelo | timotimo: maybe using bash-it? | ||
I use zsh anyway | |||
timotimo | i have no idea what bash-it is | 10:42 | |
and hack doesn't have zsh nor fish | |||
though i have root so i could install them | |||
10:43
reach_satori joined
|
|||
jmerelo | timotimo: bash-it is simply a plugin framework for bash. | 10:43 | |
timotimo | aha, alt-/ will always complete filenames i tseems like | 10:45 | |
10:49
w_richard_w joined
10:50
w_richard_w left
11:07
Sgeo_ left
11:12
Actualeyes joined
11:15
reach_satori left
11:19
Guest88667 joined
11:26
zakharyas left
11:45
molaf joined
|
|||
Geth | doc: c379f5b07d | (JJ Merelo)++ | doc/Language/statement-prefixes.pod6 Adds eager, refs #534 #2034 |
11:56 | |
synopsebot | Link: doc.perl6.org/language/statement-prefixes | ||
cpan-p6 | New module released to CPAN! Log::Syslog::Native (0.0.9) by 03JSTOWE | 11:59 | |
12:04
Sgeo_ joined
12:16
sena_kun left
12:18
jmerelo left
12:19
pmurias joined
|
|||
pmurias | hi | 12:19 | |
12:26
AlexDani` is now known as AlexDaniel,
AlexDaniel left,
AlexDaniel joined
12:31
Cabanoss- left
12:34
netrino joined
12:42
Cabanossi joined
12:51
ambs_ left
12:57
molaf left
13:06
zakharyas joined
13:14
ctilmes left,
ctilmes joined
13:17
mowcat joined
13:20
sacomo left
|
|||
AlexDaniel | kawaii: feel free to unmark some tickets if you feel like they're not going anywhere or if they're not important | 13:26 | |
lizmat | and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2019/04/15/...hrodinger/ | ||
AlexDaniel | kawaii: for example R#2576 R#2567 are in my opinion important but there's no movement whatsoever, so last release they were kinda ignored | ||
synopsebot | R#2576 [open]: github.com/rakudo/rakudo/issues/2576 [BLOCKER] flapper in t/06-telemetry/01-basic.t on mips | ||
R#2567 [open]: github.com/rakudo/rakudo/issues/2567 [BLOCKER][SEGV] Non-zero wait status: 11 in testt | |||
13:30
skids joined
|
|||
AlexDaniel | kawaii: the deadline is somewhat arbitrary, although it'd be nice if releases were happening with a slightly stricter timeline, so feel free to fix that. IMO it takes a little bit of “wait why do we still have no release this month” for people to focus on fixing things instead of adding new things :) | 13:31 | |
kawaii: also, I'll be away for this whole week, probably. Especially so on the weekend | 13:35 | ||
good luck :) | |||
lizmat | AlexDaniel: hope you're going to have a good time | 13:39 | |
13:39
sena_kun joined
|
|||
AlexDaniel | kawaii: also, I think there's no *obligation* to make a release. If it turns out that things are very broken then skipping a release is an option, arguably a much better one than releasing buggy rakudo with some rushy workarounds | 13:39 | |
kawaii: the dev team is awesome, sometimes you'd see 3-4 blocker resolved per day, so some patience helps also :) | 13:40 | ||
kawaii | AlexDaniel: so what I'm feeling from this discussion is that there probably isn't much point in cutting a release next week unless something urgent comes up that people need? | ||
AlexDaniel | lizmat: not exactly, it's wörk | 13:41 | |
lizmat: also I'm very stressed right now and kinda happy that I won't need to cut a release in the following months… | |||
lizmat | kawaii: will look at the blockers I think I can handle | ||
13:41
arkaitz joined
|
|||
lizmat wishes AlexDaniel strength | 13:41 | ||
kawaii | lizmat: thank you! As AlexDaniel said it really doesn't look like there are too many major issues, at least things are pretty quiet in here these days and no one is begging for a release like they were for 2019.03 :) | 13:42 | |
lizmat | kawaii: indeed | ||
kawaii | I'm going to keep running Blin once per week, and file issues relating to regressions | 13:43 | |
lizmat | but since there's not going to be a Star release depending on this release, I would argue that some blockers may be ignored for the 2019.04 release | ||
AlexDaniel | that's a good point | ||
kawaii | I will wait for more people to complain about a lack of 2019.04 release for now then | 13:44 | |
AlexDaniel | kawaii: well, no, what I'm saying that is that there's no point in cutting it in exactly 5 days, but during next week it'd be nice | ||
kawaii | understood | 13:45 | |
AlexDaniel | kawaii: keep in mind also that there will be some delays, like blin takes some time to run, it takes some time to review the results, etc. | ||
kawaii | I'll run Blin again on the weekend then | ||
AlexDaniel | kawaii: you'd also be waiting for a moarvm release, which by the way you have to give green light for once things look good :) | ||
kawaii: I used to run it about a week before a release, then a day or so before the planned date, then once everything was fixed I'd run it again before making a release. If I noticed something fishy, I'd file some tickets and repeat… | 13:50 | ||
if you're not paying for the uptime out of your pocket then you can do it more often | 13:51 | ||
it'd be nice to have Blin results like every day or so | 13:52 | ||
kawaii | Nope, it's a server kindly donated by $work, so I can run it 24/7 if we want | ||
AlexDaniel | though I don't know how to arrange that easily | ||
13:58
Manifest0 left,
ctilmes left
|
|||
lizmat | afk for a bit& | 13:59 | |
14:03
Manifest0 joined
14:05
ambs joined
14:06
pmurias left
14:26
pmurias joined
14:36
Manifest0 left
14:37
arkaitz left
14:41
Manifest0 joined
|
|||
Geth | ecosystem/add-command-despatch-module: fd390e32ed | (Kane Valentine)++ (committed using GitHub Web editor) | META.list Update META.list |
14:50 | |
ecosystem: kawaii++ created pull request #449: Update META.list |
14:51 | ||
kawaii | PS ^ if anyone is creating command-line tools i.e. bots and such, I'd appreciate some feedback on our Command::Despatch module, works nicely for creating commands and subcommands with arguments. | 14:52 | |
pmurias | kawaii: why is it called Command::Despatch not Command::Dispatch? | 15:11 | |
kawaii | pmurias: because 'despatch' is the correct spelling in my locale :) | 15:12 | |
pmurias | what crazy locale is that? ;) | 15:13 | |
kawaii | pmurias: dictionary.cambridge.org/dictionar...h/despatch :) | ||
pmurias has too run | 15:15 | ||
kawaii: isn't dispatch also the more common spelling in the uk? | |||
pmurias is not from the uk so he just googled it | 15:16 | ||
kawaii | In more recent times, yes, it seems we've got a lot of American spellings becoming more and more common here. | ||
15:16
pmurias left
|
|||
kawaii | Traditionally though, we used 'despatch'. | 15:16 | |
15:16
Guest88667 left
|
|||
sena_kun | .oO ( death patch ) | 15:20 | |
.oO ( ですパッチ ) | |||
kawaii | sena_kun: are you able to trigger the travis checks for the ecosystem repo? :) | 15:22 | |
sena_kun | kawaii, sure | ||
kawaii | thanks! | ||
sena_kun | kawaii, should I? | ||
give me a second... | |||
kawaii | sena_kun: github.com/perl6/ecosystem/pull/449 | ||
it failed until I fixed it | |||
just needs to be re-checked | |||
sena_kun | kawaii, don't you have enough rights, by the way? You just have to click `Details` right to "continuous-integration/travis-ci/pr — The Travis CI build failed ", and then `Restart build` button(now it is "Cancel build" though). | 15:23 | |
kawaii | sena_kun: seems that I do now that I logged into travis :) | 15:26 | |
thanks though! | |||
sena_kun | you are welcome | ||
15:26
patrickb left
|
|||
kawaii | hm, my test fails but that's intentional right now (until I write a better one), can I merge anyway or...? | 15:27 | |
travis-ci.org/perl6/ecosystem/buil...34170#L397 | |||
sena_kun | you can merge | 15:28 | |
Geth | ecosystem: fd390e32ed | (Kane Valentine)++ (committed using GitHub Web editor) | META.list Update META.list |
||
ecosystem: 527393557c | (Kane Valentine)++ (committed using GitHub Web editor) | META.list Merge pull request #449 from perl6/add-command-despatch-module Add Command::Despatch module to ecosystem |
|||
sena_kun | the main goal is to check that the package is installable from some other machine, not checking that it is 100% working | ||
kawaii | great, thanks :) | ||
sena_kun | I mean, working 100% of time | 15:29 | |
15:40
hamhu3 left
15:42
hamhu3 joined
15:45
arkaitz joined
15:52
ctilmes joined
15:54
Manifest0 left
|
|||
cpan-p6 | New module released to CPAN! DB::MySQL (0.5) by 03CTILMES | 15:59 | |
16:00
Manifest0 joined
16:07
kaare_ left
16:17
xinming_ left,
antoniogamiz joined
16:20
domidumont left
16:23
zakharyas left
16:26
antoniogamiz left
16:37
dakkar left
|
|||
Xliff | \o | 16:41 | |
Can someone tell me how to update my module on CPAN? | |||
vrurg | Xliff: just upload the new version? | 16:50 | |
16:51
arkaitz left
16:52
arkaitz joined
16:57
vrurg left,
vrurg joined
17:00
isimulate joined
17:06
vrurg left,
vrurg joined,
regreg joined
17:07
zacts joined
17:15
patrickb joined
17:16
zachk joined,
zachk left
17:17
zachk joined,
zachk left,
zachk joined
17:20
domidumont joined
|
|||
Xliff | m: use Test; my $a = True; my &f = $a ?? &ok !! &nok; &f 1 == 1, $a ?? 'OK' !! 'NOK' | 17:31 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/PFOcQs2DUO Two ter… |
||
Xliff, Full output: gist.github.com/be95f250fab7829b2a...23e363eb06 | |||
Xliff | m: use Test; my $a = True; my &f = $a ?? &ok !! &nok; &f(1 == 1, $a ?? 'OK' !! 'NOK') | ||
evalable6 | ok 1 - OK | ||
Xliff | m: use Test; my $a = False; my &f = $a ?? &ok !! &nok; &f(1 == 1, $a ?? 'OK' !! 'NOK') | ||
evalable6 | (exit code 1) not ok 1 - NOK # Failed test 'NOK' # at /tmp/XnDeYCb_Ym line 1 |
||
Xliff | m: use Test; my $a = False; my &f = $a ?? &ok !! &nok; &f($a ?? 1 == 1 !! 1 == 0, $a ?? 'OK' !! 'NOK') | 17:32 | |
evalable6 | ok 1 - NOK | ||
tony-o | m: say "meta-value" ~~ / <![ \x[0000] .. \x[001f] ]>+ <?before "l"> / | 17:36 | |
evalable6 | (signal SIGHUP) «timed out after 10 seconds» | ||
17:40
mtj_ left
|
|||
samcv | .tell jmerelo I have sent an assignment to my two potential students. to be completed in the next 7 days | 17:42 | |
yoleaux | 13 Apr 2019 13:09Z <MasterDuke> samcv: i get a warning about non-vectorized code in clang 8.0.0 gist.github.com/MasterDuke17/46224...4c2a71677e | ||
samcv: I'll pass your message to jmerelo. | |||
samcv | .tell MasterDuke can you open a bug ticket for this? i will have to get clang 8 and try to fix this. | 17:44 | |
yoleaux | samcv: I'll pass your message to MasterDuke. | ||
17:46
mtj_ joined
17:57
arkaitz left
17:59
yurii joined
18:00
yuriii left
18:10
zacts left
18:22
sauvin left
18:23
cgfbee left
18:27
[Sno] joined
18:29
Garland_g joined,
antoniogamiz joined
18:34
cgfbee joined,
antoniogamiz left
|
|||
Xliff | m: "\308".say | 18:36 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/jFGJvXyMB0 Unrecog… |
||
Xliff, Full output: gist.github.com/9a7eda2bc21499ca53...fa0676de6e | |||
Xliff | m: "\0308".say | ||
evalable6 | ␀308 | ||
Xliff | m: "\0o308".say | ||
evalable6 | ␀o308 | ||
18:38
kaare_ joined
|
|||
Xliff | m: "\o308".say | 18:38 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/AKKbNrHTuN '308' is not a valid number at /tmp/AKKbNrHTuN:1 ------> 03"\o30808⏏04".say |
||
Xliff | m: "\x308".say | ||
evalable6 | Xliff, rakudo-moar b7562d3b0: OUTPUT: «̈» | ||
18:39
cgfbee left
|
|||
Xliff | m: "\o38".say | 18:40 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/q_QGp8aRYZ '38' is not a valid number at /tmp/q_QGp8aRYZ:1 ------> 03"\o3808⏏04".say |
||
18:40
cgfbee joined
|
|||
Geth | doc: 809ee43546 | Coke++ | doc/Language/statement-prefixes.pod6 Fix usage to avoid neologism Fix typo |
18:41 | |
synopsebot | Link: doc.perl6.org/language/statement-prefixes | ||
Xliff | m: "\o[38]".say | ||
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/ZR7QToOPZn '38' is not a valid number at /tmp/ZR7QToOPZn:1 ------> 03"\o[3808⏏04]".say |
||
Xliff | So we can't add escaped octal literals in Perl6? | ||
Octals look to be allowed due to S02, but I guess that's changed? | 18:43 | ||
18:45
thundergnat joined
|
|||
thundergnat | 308 is not a valid octal number. | 18:45 | |
m: say 0o307 | 18:46 | ||
evalable6 | 199 | ||
18:46
Garland_g left
|
|||
Xliff | m: "\o37".say | 18:46 | |
evalable6 | ␟ | 18:47 | |
Xliff | Dur... | ||
m: "\o307".say | |||
evalable6 | Ç | ||
Xliff | \o/ | ||
18:48
kaare_ left,
thundergnat left
19:06
DarthGandalf left
19:14
Black_Ribbon joined,
domidumont left
19:22
vrurg left,
vrurg joined
19:32
Cabanossi left
19:33
Cabanossi joined
19:49
lucasb joined
20:07
random_yanek left
20:12
aindilis left
20:16
zachk left
20:18
nekomune left,
nekomune joined
20:19
random_yanek joined,
aindilis joined
20:28
vrurg left
20:29
vrurg joined
20:32
regreg left
|
|||
Xliff | m: $?FILE.say | 20:49 | |
evalable6 | /tmp/WTGZYAXUlz | ||
Xliff | Hum.... | 21:04 | |
21:08
abraxxa left
21:10
cpan-p6 left,
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
21:13
skids left
|
|||
Xliff | gist.github.com/Xliff/2cb5ae39efaf...6960c03332 | 21:16 | |
Can someone take a look and see if I made a mistake? | |||
Thanks. | |||
Ahh! Cruddy gcc visibility rules! /o\ | 21:42 | ||
Is there a way to make a regex automatically pass if a scalar value is true? | 21:56 | ||
sena_kun | m: say 1 if 3 ~~ /<?>/ | 21:58 | |
evalable6 | 1 | ||
sena_kun | something like that? | ||
jnthn | m: say 1 if 3 ~~ /<?{self.orig}>/ | 22:02 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/SLQWjQnKAs 'self' … |
||
jnthn, Full output: gist.github.com/e87e2e4b6d2133e721...e2814b3f94 | |||
jnthn | m: say 1 if 3 ~~ /<?{$/.orig}>/ | ||
evalable6 | 1 | ||
jnthn | m: say 1 if 0 ~~ /<?{$/.orig}>/ | ||
evalable6 | |||
jnthn | I...don't want to know why you want to do this :P | ||
If just smart-matching, then just match against *.so | 22:03 | ||
Xliff | m: my $a = True; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say 'aaa' ~~ &a-or-b; | 22:05 | |
evalable6 | /^ 'a'/ | ||
Xliff | m: my $a = True; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('aaa' ~~ &a-or-b); | 22:06 | |
evalable6 | /^ 'a'/ | ||
jnthn | Ohh...you meant a value other than the one being matched against... :) | ||
/<?{ $that-value }> || ...other stuff.../ I guess | |||
Xliff | m: my $a = True; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say &a-or-b.^name; | 22:07 | |
evalable6 | Sub | ||
Xliff | m: my $a = True; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say &a-or-b().^name; | ||
evalable6 | Regex | ||
Xliff | m: my $a = True; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('aaa' ~~ &a-or-b()); | ||
evalable6 | 「a」 | ||
Xliff | m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('aaa' ~~ &a-or-b()); | ||
evalable6 | Nil | ||
Xliff | m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ &a-or-b()); | 22:08 | |
evalable6 | 「b」 | ||
Xliff | \o/ | ||
m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ a-or-b()); | |||
evalable6 | 「b」 | ||
Xliff | Now to figure out how to use a-or-b in a larger regex. | ||
m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ / <?{ a-or-b() }> .. / ); | 22:09 | ||
evalable6 | Nil | ||
Xliff | m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ / <a-or-b()> .. / ); | 22:10 | |
evalable6 | (exit code 1) No such method 'a-or-b' for invocant of type 'Match' in block <unit> at /tmp/I7Rtfz7_bq line 1 |
||
Xliff | m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ / <a-or-b> .. / ); | ||
evalable6 | (exit code 1) No such method 'a-or-b' for invocant of type 'Match' in block <unit> at /tmp/gnYm02hENe line 1 |
||
Xliff | m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ / <&a-or-b> .. / ); | ||
evalable6 | (exit code 1) Sub object coerced to string (please use .gist or .perl to do that) in blo… |
||
Xliff, Full output: gist.github.com/6cc4b0ede88399a123...865602275a | |||
Xliff | m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ / <?{ a-or-b() }> / ); | 22:11 | |
evalable6 | Nil | ||
Xliff | m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ / { a-or-b() } / ); | ||
evalable6 | 「」 | ||
Xliff | m: my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ / ?{ a-or-b() } / ); | ||
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/5CW3NAGDzT Quantif… |
||
Xliff, Full output: gist.github.com/90504ddaf40fbda21a...c3f4a0a3ca | |||
Xliff | OK. Needs more work, but that's a start. | 22:12 | |
jnthn: This may be me attempting to be more clever than I should be. :/ | |||
22:13
evalable6 left
22:15
evalable6 joined,
ChanServ sets mode: +v evalable6
22:25
DarthGandalf joined
|
|||
jnthn | :) | 22:26 | |
sleep o/ | |||
timotimo | o/ | ||
22:29
rindolf left
22:43
Manifest0 left
22:46
DarthGandalf left
22:49
Manifest0 joined
22:55
zacts joined
22:59
DarthGandalf joined
23:09
Sgeo_ left
23:11
Sgeo joined
|
|||
Xliff | timotimo: Still there? | 23:27 | |
23:27
squashable6 left
23:32
squashable6 joined,
ChanServ sets mode: +v squashable6
23:41
patrickz joined
23:45
patrickb left
23:48
lucasb left
23:50
lookatme_q left,
lookatme_q joined
23:55
vrurg left,
vrurg joined
|