Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2018-01-13

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:08 comborico1611 joined #perl6
00:18 wamba joined #perl6
00:43 dct joined #perl6
00:59 aborazmeh joined #perl6
00:59 aborazmeh joined #perl6
01:15 cdg joined #perl6
01:17 unicodable6 joined #perl6
01:17 quotable6 joined #perl6
02:14 joy joined #perl6
02:17 lichtkind joined #perl6
02:57 ilbot3 joined #perl6
02:57 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
02:57 Geth ¦ doc: ec139cb312 | (Zoffix Znet)++ | doc/Language/functions.pod6
02:57 Geth ¦ doc: Document sub MAIN usage cares about WHY on candidates
02:57 Geth ¦ doc:
02:57 Geth ¦ doc: Looking at the code it also cares about .WHYs on individual
02:57 Geth ¦ doc: parameters, but I don't know Pod enough to figure out how to
02:57 synopsebot Link: https://doc.perl6.org/language/functions
02:57 Geth ¦ doc: set those.
02:57 Geth ¦ doc: review: https://github.com/perl6/doc/commit/ec139cb312
03:02 aquila-chrysaeto joined #perl6
03:06 cdg joined #perl6
03:07 johnnymacs I got some macro ideaz
03:08 johnnymacs Basically I have been thinking about perl6 and it's macro system and how complex it is. And I've been thinking about forth's macro system and how simple it is
03:08 johnnymacs I think if the perl6 macro system could be coerced to work more like the forth macro system that would make a simpler way to add syntax features to the language
03:09 johnnymacs I do not have the chops to do that but anyone who is interested in that idea need only read the gforth manual to see what I mean
03:11 johnnymacs Pm me if you are interested in that. I leave irc running
03:28 joy joined #perl6
03:34 Knot0nline joined #perl6
03:57 bloatable6 joined #perl6
04:00 AlexDaniel johnnymacs: masak is
04:01 mempko joined #perl6
04:01 * geekosaur wonders if he should look up what ANS Forth did to macros
04:02 geekosaur since pre-ANSI Forth's macro system was rather specific to its outer interpreter setup
04:02 johnnymacs masak: pm me sometime I got some cool macro hax
04:02 johnnymacs Well other forth systems have macros too it's just that gforth is some of the best and easiest documentation to learn forth by
04:03 johnnymacs it also is the only docs that go extensively into the function of forth macros
04:07 johnnymacs There are a few nice properties of using forth as a macro system. First of all you can implement it purely out of a dynamic array of ints. Second of all it does not take many lines of code to implement. Thirdly it is a very simple system.
04:08 johnnymacs Also it ends up not being much slower than the language beneath it if implemented correctly
04:08 Zoffix joined #perl6
04:14 Zoffix .tell jkramer the `where` on variable thing makes sense to me and contrary to what was suggested in the channel earlier, I don't think it's a bug. The difference lies in that when you use a `where` in a parameter, it concerns a single transaction: binding a value to parameter. When you use `where` with attribute/variable, however, it checks the *values* whenever they're modified. It'd be weird if doing
04:14 yoleaux Zoffix: I'll pass your message to jkramer.
04:14 Zoffix @foo[42] = 1337 would invoke `where` callable with the entire array instead of just the value we're interested in
04:15 Zoffix .tell jkramer @foo[42] = 1337 would invoke `where` callable with the entire array instead of just the value we're interested in
04:15 yoleaux Zoffix: I'll pass your message to jkramer.
04:27 Zoffix left #perl6
04:31 dorothyw by the way I change nicknames freqently but I will still get messages from you
04:41 Cabanossi joined #perl6
05:06 cdg joined #perl6
05:17 dorothyw joined #perl6
05:32 llfourn joined #perl6
05:39 konsolebox joined #perl6
06:44 giraffe joined #perl6
07:14 stmuk_ joined #perl6
07:31 darutoko joined #perl6
07:48 Sgeo joined #perl6
08:38 dct joined #perl6
09:12 rindolf joined #perl6
09:42 cdg joined #perl6
09:42 setty1 joined #perl6
09:43 cdg_ joined #perl6
09:50 renormalist joined #perl6
09:55 eliasr joined #perl6
10:00 sena_kun joined #perl6
10:02 wamba joined #perl6
10:24 Actualeyes joined #perl6
10:43 domidumont joined #perl6
10:50 domidumont joined #perl6
10:57 araraloren joined #perl6
10:57 leont joined #perl6
11:37 araraloren_ joined #perl6
11:46 committable6 joined #perl6
11:46 araraloren_ Hi, I have a question about NQP source code. Where is the source code of stage0 ?
11:49 geekosaur src/vm/*/stage0 ?
11:51 araraloren_ yeah
11:51 araraloren_ geekosaur, that's it, I wonder where is the source code ?
11:54 Ven`` joined #perl6
11:54 geekosaur "strings" on the moarvm files suggests the compiled files were generated by a stage2 build
11:55 geekosaur strings src/vm/moar/stage0/QAST.moarvm | grep '\.nqp$'
11:56 geekosaur basically, to build nqp from scratch you need some prebuilt stuff. once you have that, you can use it to build the normal source.
11:56 geekosaur but all the source involved is a subset of the normal NQP source
11:58 cdg joined #perl6
11:59 araraloren_ Hmm , I see it
12:00 araraloren_ geekosaur, How about JVM
12:01 geekosaur why would it be different
12:01 geekosaur I think you did not understand what I meant
12:01 geekosaur those files are just the compiled output of an NQP build
12:02 geekosaur the source for them is the nqp source tree itself
12:02 markong joined #perl6
12:02 geekosaur but to "bootstrap" an nqp build when nqp is not currently installed, you need an nqp. so that's a precompiled nqp.
12:03 araraloren_ Hmm, I want know how the first stage0 of JVM generated ?
12:03 geekosaur presumably it's a copy of a stage2 build's output, just as the moar one is
12:04 araraloren_ Okay, let me go on study the source code
12:07 geekosaur tools/build/Makefile-JVM.in the j-bootstrap-files target
12:07 geekosaur presumably something similar for the other backends
12:19 geekosaur I don't know how the very first one would have been built. possibly a minimal was written in PIR, then that used to build a more complete one/
12:19 geekosaur (or in perl 5 but producing PIR output)
12:20 araraloren_ Oh
12:20 araraloren_ I just think the first version would be written in Java
12:20 geekosaur yes, nqp goes back to parrot, and any initial bootstrap is probably in git history with the rest of the Parrot support
12:20 araraloren_ hmm
12:20 jnthn For Parrot it was indeed written PIR. For JVM and MoarVM we cross-compiled to get the initial bootstrap.
12:21 geekosaur once you have nqp, the first version of a new backend could be writtne in an nqp running on a different backend
12:21 geekosaur cross-compilation at that level is relatively simple
12:21 jnthn "relatively" :D
12:21 araraloren_ so, I have a NQP, and can produce the stage0 of JVM  backend?
12:21 jnthn But yeah, the slightly trickier part was getting the cross-compiled output to self-host
12:22 jnthn (Mostly through discovering all the bits that'd been missed...)
12:22 jnthn araraloren_: These days we just use a particular backend to produce the new version of its stage0
12:23 jnthn The cross-compilation setups haven't been maintained; they were just to get us onto other VMs.
12:23 araraloren_ oh, Actually, we want make a C++ backend of Perl6
12:23 geekosaur that will be difficult
12:23 * jnthn wonders what a C++ backend means :)
12:24 araraloren_ yeah, I want learn the NQP more
12:24 geekosaur perl 6 somewhat depends on backends that are dynamic in nature. EVAL will be difficult in native code, for example.
12:24 araraloren_ I don't have much sense now
12:26 jnthn EVAL will be one bit of fun, memory management another :)
12:27 geekosaur (NQP would generate C++, which would need to be compiled, dlopen-ed into the running executable, invoked, then unloaded without disturbing the result. for some results, this may be difficult; consider a Promise instantiated in said code. you'd have to delay unloading until no references exist --- and what then if you run that EVAL again?
12:28 araraloren_ Hmm, maybe use some tools like LLVM, I heard they support dynamic Language. I said before I am not have too much sense about this
12:28 geekosaur memory management is not that difficult if it's linking into the existing memory management stuff. (and if it's not then you have much bigger problems)
12:33 araraloren_ I have to learn more :)
12:33 araraloren_ Thanks
12:56 leont left #perl6
13:08 shinobi_cl joined #perl6
13:11 shinobi_cl r: say (2, 4, 6, 8); say (2, 4 ... 8); say (2, 4, 6, 8) eqv (2, 4 ... 8);
13:11 camelia rakudo-jvm a92950fb4, rakudo-moar e9c9dc469: OUTPUT: «(2 4 6 8)␤(2 4 6 8)␤False␤»
13:11 Manifest0 joined #perl6
13:11 shinobi_cl How should i compare them if not with eqv?
13:12 araraloren_ r: say (2, 4, 6, 8); say (2, 4 ... 8); say (2, 4, 6, 8) (=) (2, 4 ... 8);
13:12 camelia rakudo-jvm a92950fb4: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3, 8); say (2, 4 ... 8); say (2, 4, 6, 8)7⏏5 (=) (2, 4 ... 8);␤    expecting any of:␤        infix␤        infix stopper␤        postfix␤        …»
13:12 camelia ..rakudo-moar e9c9dc469: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3, 8); say (2, 4 ... 8); say (2, 4, 6, 8)7⏏5 (=) (2, 4 ... 8);␤    expecting any of:␤        infix␤        infix stopper␤        postfix␤       …»
13:15 araraloren_ r: say (2, 4, 6, 8); say (2, 4 ... 8); say (6, 4, 2, 8) [==] (2, 4 ... 8);
13:15 camelia rakudo-jvm a92950fb4, rakudo-moar e9c9dc469: OUTPUT: «(2 4 6 8)␤(2 4 6 8)␤True␤»
13:17 araraloren_ I thought it would have a (==) operator, but not found it :(
13:18 shinobi_cl So, what happened with eqv? This used to work before...
13:19 shinobi_cl also, the idea is that the order is also checked.
13:19 Alikzus joined #perl6
13:19 araraloren_ m: (2, 4 ... 8).is-lazy.say
13:19 camelia rakudo-moar e9c9dc469: OUTPUT: «False␤»
13:19 jnthn How long ago is "before"?
13:20 jnthn m: say (2, 4, 6, 8); say (2, 4 ... 8); say (2, 4, 6, 8) eqv (2, 4 ... 8).list
13:20 camelia rakudo-moar e9c9dc469: OUTPUT: «(2 4 6 8)␤(2 4 6 8)␤True␤»
13:20 jnthn m: say (2, 4, 6, 8); say (2, 4 ... 8); say (2, 4, 6, 8) >>==<< (2, 4 ... 8)
13:20 camelia rakudo-moar e9c9dc469: OUTPUT: «(2 4 6 8)␤(2 4 6 8)␤(True True True True)␤»
13:20 shinobi_cl maybe 2 years ago :)
13:20 jnthn m: say (2, 4, 6, 8); say (2, 4 ... 8); say [&&] (2, 4, 6, 8) >>==<< (2, 4 ... 8)
13:20 camelia rakudo-moar e9c9dc469: OUTPUT: «(2 4 6 8)␤(2 4 6 8)␤True␤»
13:20 araraloren_ m: say (2, 4, 6, 8); say (2, 4 ... 8); say (2, 4, 6, 8) eqv [2, 4 ... 8]
13:20 camelia rakudo-moar e9c9dc469: OUTPUT: «(2 4 6 8)␤(2 4 6 8)␤False␤»
13:20 jnthn eqv wants the types to be the same
13:21 jnthn Thus why putting .list on the right makes it work out
13:21 jnthn (Sequences return a Seq)
13:21 araraloren_ That make sense :)
13:35 cdg joined #perl6
13:38 lizmat m: use nqp; my $a := nqp::list(1); dd nqp::atpos($a,0); dd nqp::isnull(nqp::atpos($a,0),0)  # this feels wrong ??
13:38 camelia rakudo-moar 21bc5916c: OUTPUT: «1␤0␤»
13:40 lizmat arghhh
13:40 lizmat isnull/ifnull
13:42 pmurias joined #perl6
13:43 pmurias samcv: I have implemented the collation algorithm in js, and I'm encountering a problem when running roast tests
13:44 pmurias samcv: <START OF HEADING> has 0,0,0 weights yet it seems to affect the comparision on the moarvm backend
13:44 cdg joined #perl6
13:45 pmurias samcv: https://paste.debian.net/1004976 - test trimmed to show the problem
13:50 pmurias joined #perl6
13:57 Ven`` joined #perl6
14:09 dogbert17 joined #perl6
14:14 bisectable6 joined #perl6
14:19 sumdoc joined #perl6
14:22 sumdoc qq:to/HERE/ ........... HERE
14:22 sumdoc What does that mean?
14:22 sumdoc Where can I fond the doc?
14:23 gfldex sumdoc: go to: https://docs.perl6.org/language/quoting#Heredocs:_:to
14:26 sumdoc gfldex: Thanks
14:28 sumdoc Is anyone working on using markdown to write package documentation?
14:28 sumdoc After all POD is rendered to markdown or html.
14:30 geekosaur POD also contains semantic information. eventually we'd like e.g. the repl to be able to get at docs
14:35 Ven`` joined #perl6
14:36 gfldex sumdoc: see https://docs.perl6.org/language/variables#The_=_Twigil
14:37 geekosaur I assume this is "gotta make it easy as possible to dop "docs" woithout thinkiing else you don;t get docs at all"
14:37 geekosaur but as such docs are invariably LTA, I see no reason to encourage them
14:47 squashable6 joined #perl6
14:50 sumdoc gfldex: ?? !! can you help me find the docs on it
14:50 sumdoc Looks like its related to conditionals
14:50 gfldex sumdoc: hit Esc and type "??"
14:50 gfldex (on the docs page that is)
14:52 araraloren_ yeah, pls use the search feature of docs page :)
14:54 stmuk joined #perl6
15:04 sumdoc gfldex: https://docs.perl6.org/routine/??%20!!
15:04 sumdoc i am not getting what i was expecting
15:05 araraloren_ maybe have some bug :)
15:05 araraloren_ This is all the operator : https://docs.perl6.org/language/operators
15:05 araraloren_ Then press `CTRL + F` search in the page
15:13 sumdoc araraloren_: Gotch it !! Thanks https://docs.perl6.org/language/operators#infix_??_!!
15:26 shinobi-cl joined #perl6
15:27 ChoHag joined #perl6
15:29 Voldenet What's the shortest and smartest way to write "dir.grep(<p6 pl>>>.&is-extension-of(*).any)" with default operators (and while avoiding regexps)?
15:29 Voldenet not to mention that the above probably won't work
15:31 Voldenet m: say <a.txt b.txt c.pl>.grep(*.split(".")[*-1].lc (elem) <pl pm>.any)
15:31 camelia rakudo-moar 1e8c9762e: OUTPUT: «(c.pl)␤»
15:31 jnthn I'd probably write it like dir.grep(*.extension eq any <p6 pl>)
15:32 El_Che that is what I call cool syntax
15:33 Voldenet m: <a.txt b.txt c.pl D.PL>.grep(*.IO.extension eq any <pl pm>).say
15:33 camelia rakudo-moar 1e8c9762e: OUTPUT: «(c.pl)␤»
15:34 Voldenet m: <a.txt b.txt c.pl D.PL>.grep(*.IO.extension.lc eq any <pl pm>).say
15:34 camelia rakudo-moar 1e8c9762e: OUTPUT: «(c.pl D.PL)␤»
15:34 Voldenet apparently that's the best way to go
15:34 Voldenet jnthn++
15:36 gfldex m: say ‚⟨‘ «~« dir('.').grep(*.extension eq any <log txt>) »~» ‚⟩‘
15:36 camelia rakudo-moar 1e8c9762e: OUTPUT: «(⟨evalbot.log⟩ ⟨file.txt⟩ ⟨hs_err_pid27879.log⟩ ⟨hs_err_pid26960.log⟩ ⟨hs_err_pid1105.log⟩)␤»
16:17 imcsk8 joined #perl6
16:23 DrForr .o ( ',(..,)' - we have macros finally?
16:25 timotimo yeah, no wonder /routine/??%20!! doesn't give you what you want
16:25 timotimo that's just a /routine/ and a botched query string
16:25 timotimo the ? would have bo te escaced for this to work, and i'd say urlencode won't cut it perhaps?
16:26 xi- joined #perl6
16:28 geekosaur you type like I do >.>
16:29 timotimo wow, "bo te escaced", that's quite the bumble
16:29 DrForr Typeahead writ large.
16:31 lizmat .oO( you really aced the esc )
16:36 zakharyas joined #perl6
16:39 zakharyas joined #perl6
16:40 zakharyas joined #perl6
16:52 khw joined #perl6
17:00 zakharyas joined #perl6
17:14 espadrine_ joined #perl6
17:19 khisanth_ joined #perl6
17:23 coverable6 joined #perl6
17:23 benchable6 joined #perl6
17:25 PlxP joined #perl6
17:25 PlxP I'm having trouble installing perl6
17:26 PlxP When I do "make" it says no targets specified and no makefile found
17:26 moritz PlxP: what operating system are you on?
17:26 PlxP Debian
17:27 moritz PlxP: the easiest way is to use the .deb package from https://github.com/nxadm/rakudo-pkg
17:27 PlxP mortiz: I tried that it didn't work for me either
17:27 moritz PlxP: how did it not work?
17:27 DrForr How...guh.
17:28 moritz and regarding the build from source: have you read the INSTALL.txt?
17:28 xi- joined #perl6
17:30 PlxP moritz: I'll try again now because I don't remember the error message
17:30 PlxP moritz: Do you mean the README?
17:39 PlxP When I try the .deb package it initially installs successfully, but then when I do "perl6" it says bash: command not found. I've added the PATH to my bash profile
17:41 moritz PlxP: you might need to start a new login shell for the change in the bash profile to take effect
17:41 moritz PlxP: or do "source .bash_profile"
17:41 DrForr Or 'rehash' to get completion to work, though simply logging in with a new shell should suffice.
17:42 PlxP Oh nice it works now
17:42 PlxP Like magic xD
17:42 PlxP mortiz: Thanks
18:01 lowin joined #perl6
18:03 DrForr Just noting something - on current Rakudo '=begin table :caption<foo>' actually populates Pod::Block::Table's %.config, not caption.
18:05 zakharyas joined #perl6
18:24 Ven`` joined #perl6
18:25 cdg joined #perl6
18:40 releasable6 joined #perl6
18:40 greppable6 joined #perl6
18:40 reportable6 joined #perl6
18:41 statisfiable6 joined #perl6
18:41 nativecallable6 joined #perl6
18:44 stmuk_ joined #perl6
18:45 natrys joined #perl6
19:10 zakharyas joined #perl6
19:11 a3f joined #perl6
19:12 zakharyas joined #perl6
19:15 zakharyas joined #perl6
19:16 a3f_ joined #perl6
19:17 breinbaas joined #perl6
19:18 a3f- joined #perl6
19:21 smls joined #perl6
19:22 stmuk joined #perl6
19:23 a3f_ joined #perl6
19:25 smls m:  say (1..Inf).skip(100_000_000).head(10);
19:25 camelia rakudo-moar 1e8c9762e: OUTPUT: «(timeout)»
19:28 comborico1611 joined #perl6
19:29 cdg joined #perl6
19:30 smls m:  say (42 xx *).skip(1_000_000_000).head(10);
19:30 dct joined #perl6
19:30 camelia rakudo-moar 1e8c9762e: OUTPUT: «(timeout)»
19:34 smls It looks like  Range  and  xx  don't yet implement an optimized   Iterator.skip-at-least   :)
19:34 smls Would this make for a good LHF task?
19:35 tbrowder DrForr: the caption attribute value change (rakudo PR #1303) was merged to the master branch on 2017-12-11 by AlexDaniel.
19:37 tbrowder using :caption<title> will also put it in the %config hash.
19:40 DrForr tbrowder: Thanks. It just seemed odd since the %config was there.
19:41 lizmat smls: it would, but note that Range has several iterator classes to handle the different cases
19:42 tbrowder you can lobby AlexDaniel if you think the caption should NOT be in both places. and i would agree with you.  i’m not sure if S26 says anything either way.
19:44 DrForr Not looking to start a fight, just checking.
19:46 cdg joined #perl6
19:55 smls m:  sub f (+sequence) { say sequence.^name; };  f 1...*;
19:55 camelia rakudo-moar 1e8c9762e: OUTPUT: «Seq␤»
19:55 smls m:  sub f (+sequence) { say sequence.^name; };  f 1..*;
19:55 camelia rakudo-moar 1e8c9762e: OUTPUT: «List␤»
19:56 smls ^^ Is it intentional, that a + parameter without @ sigil turns an infinite Range into a List?
19:57 smls (Rather than turning it into a Seq or keeping it as a Range, to avoid the needless memory overhead of building up the whole list while `sub f` iterates over it...)
20:00 gfldex m:  sub f (+sequence is raw) { say sequence.^name; };  f 1..*;
20:00 camelia rakudo-moar 1e8c9762e: OUTPUT: «List␤»
20:01 gfldex smls: yes
20:02 gfldex m:  sub f (+sequence) { say sequence.shift; };  f 1..*;
20:02 camelia rakudo-moar 1e8c9762e: OUTPUT: «Cannot call 'shift' on an immutable 'List'␤  in sub f at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
20:02 gfldex but that might be a bug
20:02 gfldex it should be Array
20:02 gfldex not List
20:03 gfldex TimToady might know more
20:03 smls gfldex: Isn't  +@sequence  what one would use if one wants it to be an Array?
20:03 smls with the @ sigil
20:03 gfldex m:  sub f (+sequence) { say sequence.shift; };  f 42;
20:03 camelia rakudo-moar 1e8c9762e: OUTPUT: «Cannot call 'shift' on an immutable 'List'␤  in sub f at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
20:04 * gfldex goes to read roast
20:04 smls gfldex: And do you think that Seq remaining a Seq (first example I showed), is a bug too?
20:05 gfldex I'm not sure if a slurpy sequence makes sense at all.
20:05 gfldex I'm not a language designer. I just docs that stuff. :)
20:06 smls I think it's pretty useful to have sigil-less + params work without memory overhead on infinite Seq's, and was just wondering why it doesn't do the same for Range.
20:07 TEttinger joined #perl6
20:08 gfldex roast defines +name as a Seq
20:08 gfldex so my gut was wrong :)
20:08 gfldex S06-signature/slurpy-params.t:237
20:09 gfldex m:  sub f (+sequence) { say sequence.shift; };  f 1..∞;
20:09 camelia rakudo-moar 1e8c9762e: OUTPUT: «Cannot call 'shift' on an immutable 'List'␤  in sub f at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
20:09 gfldex m:  sub f (+sequence) { say sequence.WHAT; };  f 1..∞;
20:09 camelia rakudo-moar 1e8c9762e: OUTPUT: «(List)␤»
20:10 comborico1611 joined #perl6
20:10 gfldex roast doesn't define what should happen with a Range
20:13 smls gfldex: Isn't   +foo   meant to provide single-argument-rule behavior akin to the built-in list processing routines such as `zip`?
20:13 gfldex yes
20:14 smls Well, those builtins work on Ranges without memory leak.
20:16 gfldex m: my List \l := (1..∞).List; say l.elems;
20:16 camelia rakudo-moar f25fdbdf0: OUTPUT: «Cannot .elems a lazy list␤  in block <unit> at <tmp> line 1␤␤»
20:17 gfldex smls: you may want to file a bugreport
20:17 gfldex smls: put it at https://github.com/rakudo/rakudo/issues and you at least get a proper discussion
20:18 smls gfldex: Ok.
20:18 gfldex (with folk who know what they write about, e.g. not me :)
20:32 pmurias joined #perl6
20:35 xi- joined #perl6
20:50 evalable6 joined #perl6
20:52 Ven`` joined #perl6
20:52 webstrand joined #perl6
20:53 pmurias unicode collation (unicmp) now works on rakudo.js
21:03 lizmat pmurias++
21:04 hankache joined #perl6
21:05 espadrine_ joined #perl6
21:10 samcv nice!
21:29 Sgeo joined #perl6
21:30 herby_ joined #perl6
21:30 herby_ o/
21:32 ctilmes joined #perl6
21:32 ctilmes m: sub foo(int32 $x) { say "ok" if $x }; foo(12);
21:32 camelia rakudo-moar f25fdbdf0: OUTPUT: «===SORRY!===␤Unhandled kind 3␤»
21:32 ctilmes What is an unhandled kind 3?
21:34 geekosaur o.O
21:34 geekosaur that's a compiler bug
21:35 ctilmes It is already filed, or should I file that example to rakudo bug?
21:36 geekosaur doesn't look familiar to me
21:36 ctilmes I'll file, they can merge if dup
21:37 geekosaur the SORRY! indicates compile time; and that is not a user-facing error message but something from the guts
21:39 ctilmes https://rt.perl.org/Public/Bug/Display.html?id=132718
21:53 shinobi-cl joined #perl6
21:58 Ven`` joined #perl6
22:12 sena_kun joined #perl6
22:26 Geth ¦ doc: 80c0da6775 | (Zoffix Znet)++ | doc/Type/Any.pod6
22:26 Geth ¦ doc: Document .toggle method
22:26 Geth ¦ doc:
22:26 Geth ¦ doc: This is how it fits into my brain. Feel free to reword/rewrite if the
22:26 Geth ¦ doc: description is confusing.
22:26 synopsebot Link: https://doc.perl6.org/type/Any
22:26 Geth ¦ doc:
22:26 Geth ¦ doc: Closes https://github.com/perl6/doc/issues/1716
22:27 Geth ¦ doc: Rakudo impl: https://github.com/rakudo/rakudo/commit/78caeb6bceb5ab99
22:27 Geth ¦ doc: Spec:        https://github.com/perl6/roast/commit/0bca7906b7
22:27 Geth ¦ doc: review: https://github.com/perl6/doc/commit/80c0da6775
22:53 AlexDaniel DrForr: IIRC it wasn't working properly anyway
22:53 AlexDaniel mch: sub foo(int32 $x) { say "ok" if $x }; foo(12);
22:53 committable6 AlexDaniel, ¦2015.12: «===SORRY!===␤unhandled kind 3␤ «exit code = 1»» ¦HEAD(cc19507): «===SORRY!===␤Unhandled kind 3␤ «exit code = 1»»
22:53 AlexDaniel c: all sub foo(int32 $x) { say "ok" if $x }; foo(12);
22:53 AlexDaniel awesome bug
22:53 committable6 AlexDaniel, https://gist.github.com/9f0029e1d42291f9d88c483521a2be12
22:54 geekosaur if nothing else, that error message needs to be better
22:54 AlexDaniel bisect: old=2015.11 sub foo(int32 $x) { say "ok" if $x }; foo(12);
22:54 bisectable6 AlexDaniel, Bisecting by exit code (old=2015.11 new=cc19507). Old exit code: 0
22:54 bisectable6 AlexDaniel, bisect log: https://gist.github.com/87d2fa48e507e101a0ccf13dc2542a77
22:54 bisectable6 AlexDaniel, (2015-12-17) https://github.com/rakudo/rakudo/commit/ec18f24d27ce61fa71d177ab76c4044ee1d1a75e
22:55 AlexDaniel c: ec18f24d27c^,ec18f24d27c sub foo(int32 $x) { say "ok" if $x }; foo(12);
22:55 committable6 AlexDaniel, ¦ec18f24d27c^: «ok␤» ¦ec18f24: «===SORRY!===␤unhandled kind 3␤ «exit code = 1»»
22:55 AlexDaniel that doesn't really help I think
22:55 AlexDaniel Geth: ver https://github.com/rakudo/rakudo/commit/ec18f24d27ce61fa71d177ab76c4044ee1d1a75e
22:55 AlexDaniel … thanks geth!
22:56 geekosaur what you get(h) for trusting an alien bot :p
23:11 cdg joined #perl6
23:13 stmuk_ joined #perl6
23:20 AlexDaniel c: 2017.12,HEAD 'abc'.ords.List.Seq.rotor( 2=>-1, :partial )
23:20 committable6 AlexDaniel, ¦2017.12,HEAD(cc19507): «»
23:20 AlexDaniel c: 2017.12,HEAD abc'.ords.rotor( 2=>-1, :partial )
23:20 committable6 AlexDaniel, https://gist.github.com/8b3b16b479f32a5edac28de03529a7d2
23:20 AlexDaniel c: 2017.12,HEAD 'abc'.ords.rotor( 2=>-1, :partial )
23:20 committable6 AlexDaniel, ¦2017.12,HEAD(cc19507): «Cannot invoke this object (REPR: Uninstantiable; Callable)␤  in block <unit> at /tmp/1gPdUVbLEd line 1␤␤ «exit code = 1»»
23:20 AlexDaniel c: 2017.12,HEAD dd 'abc'.ords.rotor( 2=>-1, :partial )
23:20 AlexDaniel
23:20 committable6 AlexDaniel, ¦2017.12: «Cannot invoke this object (REPR: Uninstantiable; Callable)␤  in block <unit> at /tmp/cNtD7MU605 line 1␤␤ «exit code = 1»» ¦HEAD(cc19507): «(low-level Seq)␤»
23:21 AlexDaniel c: 2017.11,2017.12,HEAD 'abc'.ords.rotor( 2=>-1, :partial )
23:21 committable6 AlexDaniel, ¦2017.11,2017.12,HEAD(cc19507): «Cannot invoke this object (REPR: Uninstantiable; Callable)␤  in block <unit> at /tmp/V7FQze_8ca line 1␤␤ «exit code = 1»»
23:21 AlexDaniel c: 2017.11,2017.12,HEAD 'abc'.ords.rotor(2=>-1,:partial)
23:21 committable6 AlexDaniel, ¦2017.11,2017.12,HEAD(cc19507): «Cannot invoke this object (REPR: Uninstantiable; Callable)␤  in block <unit> at /tmp/J5QIPML3n8 line 1␤␤ «exit code = 1»»
23:21 shinobi-cl joined #perl6
23:24 AlexDaniel ah! It happened one year ago
23:24 * AlexDaniel lost track of the years :)

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo