»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 May 2018.
00:08 skids joined 00:19 cozachk left 00:25 koto left 00:27 blackberry9900 left 00:29 wamba left
AlexDaniel squashable6: next 00:33
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈9 hours (2018-07-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
00:36 mcmillhj left
squashable6 Webhook for perl6/doc is now active! Design for failure. 00:36
tbrowder_ AlexDaniel: I don’t know if it fits the definition precisely, but I feel like I’ve learned to do TDD working with Perl 6.! 00:41
00:49 eliasr left 01:04 kjk joined 01:05 spycrab0 left
kjk here docs.perl6.org/language/modules.ht...he_Module. It mentions a module, Vortex::TotalPerspective, but I can't seem to find it 01:08
01:08 lizmat left
timotimo it's an imaginary example module 01:09
the total perspective vortex comes from the hitchhiker's guide to the galaxy 01:10
kjk oh..haha I misunderstood the doc 01:13
01:15 kerframil joined 01:27 Xliff left 01:29 blackberry9900 joined
Geth doc/coke/build: 19 commits pushed by (Will "Coke" Coleda)++, Coke++
review: github.com/perl6/doc/compare/b7a51...ed6a7e59c4
01:34
AlexDaniel heh… one annoying issue with TDD is that you see all these problems with your code and have to fix them :( 01:37
01:38 ChoHag left 01:41 fake_space_whale joined
kjk so I'm using this mi6 tool to help with authoring a module, and I'm trying to upload my module to cpan, but it says I should prepare a ~/.pause file, I'm not sure what to put in there? I'm guessing it should contain my credential, but in what format? 01:45
timotimo kjk: one line is "user KJKPAN", the next line is "password GoodBagels" 01:48
end it with a newline i guess? 01:49
kjk hmm upload failed with an error: 599 Internal Exception, pause.perl.org/pause/authenquery?ACTION=add_uri 01:52
however, I see the files in PAUSE 01:53
01:54 raynold left
buggable New CPAN upload: P6Repl-Helpers-0.0.1.tar.gz by KJK cpan.metacpan.org/authors/id/K/KJ/...0.1.tar.gz 02:05
kjk hmm, does that message mean it's successful? 02:07
if yes, I kind of wish it wasn't successful lol, coz I wanted to change the name of the module to just P6Repl::Helper, i.e., no 's' at the end. 02:09
ok that's it, I'm renaming it. just scheduled a delete of the files on PAUSE, hope it's ok. 02:13
02:17 raynold joined 02:18 Kaiepi left 02:20 Kaiepi joined
kjk ok this time successfully used mi6 release to upload my renamed module to cpan. hmm, I see my old module on modules.perl6.org. I hope it will be gone once it's removed from cpan by PAUSE 02:28
buggable New CPAN upload: P6Repl-Helper-0.0.1.tar.gz by KJK modules.perl6.org/dist/P6Repl::Helpers:cpan:KJK 02:35
02:44 ufobat_ joined 02:47 ufobat left
AlexDaniel squashable6: next 02:56
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈7 hours (2018-07-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
03:07 Schepeers left 03:12 ChoHag joined 03:13 Schepeers joined 03:28 xtreak joined
Geth doc: e8f96f158e | (JJ Merelo)++ | size_t.p6
Removed wrong example file
03:34
03:36 BlackBerry9999 joined 03:37 fake_space_whale left 03:39 blackberry9900 left 03:54 BlackBerry9999 left 04:16 BlackBerry9999 joined 04:27 stee joined 04:29 stee3 left 04:31 BlackBerry9999 left, BlackBerry9999 joined, stee left 04:41 stee joined 04:43 kjk left 04:45 stee left 04:55 stee joined 05:08 Kaiepi left 05:09 Kaiepi joined 05:13 Kaiepi left, Kaiepi joined 05:15 skids left 05:17 sauvin joined 05:38 HaraldJoerg joined 05:50 stmuk joined, labster joined 05:52 stmuk_ left 05:57 Kaiepi left, psychoslave left 05:58 Kaiepi joined 06:17 psychoslave joined 06:24 robertle_ left 06:28 HaraldJoerg1 joined 06:31 HaraldJoerg left 06:37 BlackBerry9999 left, konsolebox left 06:41 konsolebox joined 06:42 domidumont joined 06:48 Technato1 joined, domidumont left 06:49 domidumont joined 06:54 Technato1 left 06:57 cgfbee joined 06:59 Technato1 joined 07:05 wamba joined 07:06 Technato1 left 07:13 curan joined 07:19 aborazmeh joined, aborazmeh left, aborazmeh joined 07:29 dakkar joined 07:30 domidumont left, domidumont joined 07:40 rindolf joined 07:54 xinming joined 07:57 aborazmeh left 07:58 xinming_ left 08:04 benjikun left 08:12 zakharyas joined 08:15 Khisanth left 08:19 scimon joined 08:28 Khisanth joined
AlexDaniel squashable6: next 08:28
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈1 hour (2018-07-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
08:29 kerframil left 08:44 xtreak left 09:10 torbjorn joined
AlexDaniel squashable6: next 09:10
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon is in 49 minutes (2018-07-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
09:15 curan left 09:17 spycrab0 joined 09:18 xtreak joined 09:19 xtreak left 09:20 xtreak joined 09:21 lizmat joined 09:28 Xliff joined 09:29 ChoHag left 09:41 xtreak left 09:46 ChoHag joined
Altreus Apparently a Promise.in is already vowed? How would one set up an event for the future, like a timeout, but then cancel it if the thing being timed out succeeds first? 09:59
I thought I would just make a Promise.in and then break it if the timeout is not needed 10:00
lizmat Altreus: you don't: the promise will be kept and the object will be removed automatically when the GC kicks in
Altreus But the promise is a timeout 10:01
if it's kept, the connection is closed
10:01 ChoHag left, benjikun joined
Altreus Presumably there's a better way of setting up an alarm like this, such that it can be cancelled 10:01
lizmat Altreus: please show the code, I think there's some misunderstanding 10:02
Altreus let me commit the wip :)
lizmat: github.com/kawaiiforums/p6-api-dis...iscord.pm6 10:03
You see I set up $!hb-timeout on line 76
The idea is that if the heartbeat is acknowledged, I cancel the timeout
if it's not, I close the connection
But I can't work out how to cancel the timeout 10:04
The *other* problem is that if I try to break a promise like this in a trivial script, I get an error
but in this situation I do not
10:05 stmuk_ joined
lizmat hmmm... indeed, that also seems to have the same logical issue as: docs.perl6.org/type/Promise#method_in 10:06
Altreus I mean it does seem like I should be able to not timeout if the proc finishes first 10:07
I guess I can set it up in a slightly more complex way so the then block closes over state it can later read
10:07 stmuk left
lizmat I think that's the way to do it now 10:07
I think we want Promise.in / at to return an augmented promise that you can call "cancel" on 10:08
Altreus or to not be avowed so you can break it
I'm surprised trying to break it in this code does not cause an error
lizmat I just realize that the implementation of Promise.in / at predates the cancellation feature of ThreadPoolScheduler.cue 10:09
Altreus aha
Well this is why we need to try writing things in perl6 :D
find all the kinks
lizmat yes, please continue to do so! 10:10
jnthn my $cancelled = Promise.new; Promise.anyof(Promise.in(5), $cancelled).then({ unless $cancelled { ...do stuff... } });
Altreus ah that's nicer than a new member 10:11
10:13 ChoHag joined
lizmat jnthn: how do you feel of adding a "cancel" method on the Promise returned by .in / .at ? 10:14
jnthn Not convinced that's the right way to do it at all.
Altreus It feels tidier to never run the code than to run the code and check if you really want to 10:15
Whenever I have something like promises it strikes me that I should almost never have to write another if
lizmat well, I guess there's still a race condition
jnthn Well yes, it's inherently a race 10:16
Altreus a timeout is literally that :)
lizmat well, I think at least the example at docs.perl6.org/type/Promise#method_in is wrong 10:17
in the sense that it will *always* run the .kill after 5 seconds
I guess the timeout code should be something like: unless $promise { note "timeout" ... } 10:18
jnthn Yeah, that's not a good way to write that 10:19
scimon Altreus: I wrote Timer::Breakable for this kind of situation.
jnthn That's what a react block is for
lizmat well, I think this example predates react :-)
Altreus scimon: oh handy 10:22
definitely a perl
time to take off the rose-tinted glasses and do real work though :( 10:24
scimon And I've just spotted the docs are a bit wrong.... Ooops. 10:25
Geth doc: bc7070db68 | (Elizabeth Mattijsen)++ | doc/Type/Promise.pod6
Adapt Promise.in example

In the original version, the .kill method would be called on the Proc after 5 seconds even if the other promise was successful. This may not be a problem in this case, but it implies that the other timeout promise does not fire (when in fact, it will).
10:28
synopsebot_ Link: doc.perl6.org/type/Promise
squashable6 🍕🍕🍕 First contribution by lizmat++! ♥
doc: cd8a2b1527 | (Elizabeth Mattijsen)++ | doc/Type/Promise.pod6
Refer to react/whenever for Promise.in/at
10:30
synopsebot_ Link: doc.perl6.org/type/Promise
scimon (I love Mi6 for module development) Best I get back to work.
10:37 sftf left
Altreus wow that turned around fast :D 10:40
10:44 jmerelo joined
jmerelo on an intercity train to Arnhem 10:44
squashable6: status
squashable6 jmerelo, 🍕🍕 SQUASHathon is in progress! The end of the event in 2 days and ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo, Log and stats: gist.github.com/b398768be0d300f68d...482ede3335
10:44 BlackBerry9999 joined
buggable New CPAN upload: Timer-Breakable-0.1.1.tar.gz by SCIMON modules.perl6.org/dist/Timer::Break...pan:SCIMON 10:45
Geth doc: a6077258a2 | (JJ Merelo)++ | doc/Language/classtut.pod6
Fixes Pod and reflow, closes #2151
10:51
doc: bf2974c4b3 | (JJ Merelo)++ | doc/Language/classtut.pod6
Clarifies why Submethod is there by adding a link

Also reflows around there. Closes #2152
synopsebot_ Link: doc.perl6.org/language/classtut
squashable6 🍕🍕🍕 First contribution by JJ++! ♥
🍕 JJ++ closed issue “classtut rendering broken”: github.com/perl6/doc/issues/2151
🍕 JJ++ closed issue “ submethods concept from nowhere”: github.com/perl6/doc/issues/2152
squashable6 🍕 JJ++ edited issue “Mention the status of atomicints”: github.com/perl6/doc/issues/2150 10:52
🍕 JJ++ wrote a comment on “Mention the status of atomicints”: github.com/perl6/doc/issues/2150#i...-403000697 10:53
🍕 JJ++ labeled issue “Mention the status of atomicints”: github.com/perl6/doc/issues/2150
10:55 zakharyas left
jmerelo Wifi on Dutch trains is surprisingly good... 11:00
11:04 BlackBerry9999 left
jnthn It seems to be pretty good in quite a few places by now 11:07
trains++ 11:08
11:09 jmerelo left
jnthn haha, ping timeout just after it was complimented :D 11:10
11:21 benjikun2 joined 11:24 raschipi joined 11:25 benjikun left 11:28 lizmat left 11:29 kane joined, kane is now known as Guest29522, Guest29522 is now known as kawaii 11:30 kawaii left, wamba left
AlexDaniel o/ 11:35
squashable6: status
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 2 days and ≈0 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/2cccb50535249483fa...c787c6af97
tyil scimon: what makes you like mi6 :> 11:36
.tell jmerelo my train should arrive at 13:59 11:37
yoleaux tyil: I'll pass your message to jmerelo.
tbrowder_ hi, #perl6 11:38
tyil hi tbrowder_
El_Che hi, dr Nick^Wtbrowser_
11:42 Technato1 joined
tbrowder_ i’m looking at the doc order in the Language section. i like the idea of grouping by categories with topics under them in some order that may not be alphabetical. i can’t promise any progress any time soon, but it would be helpful to have some concensus on grouping titles and their order. 11:43
stmuk_ tbrowder_: I'm experimenting with a "quick fix" .. which is to just sort language by filename order again (like you did with the program section) 11:44
but ordering in a more explicit way is certainly better
11:46 markoong joined
tbrowder_ ok, good. i suggest using a renaming format something like xyy-name where x is a-z for grouping and yy is 00-99 for subgrouping. 11:47
11:48 lizmat joined, wamba joined
stmuk_ I wondered if the ordering should be done within the pod6 itself somehow rather than the filename 11:49
tbrowder_ stmuk: i think that’s not a bad solution (but devil in naming details).
to create groups we can just add a page with the desired title for each group. 11:50
using the xyy-name scheme.
squashable6 🍕 AlexDaniel++ wrote a comment on “Mention the status of atomicints”: github.com/perl6/doc/issues/2150#i...-403011927 11:52
🍕🍕🍕 First contribution by AlexDaniel++! ♥
tbrowder_ ordering within the pod could be done with more backend work using some agreed-upon id or other key as a config entry on a defined or paragraph block.
stmuk: for long-term maintenance that is imo the best way to go. maybe the easiest since we already use pod data! 11:54
stmuk_ I also think we should aim to make it easier for other HTML front-ends to process the pod6 11:55
tbrowder_ roger!
11:56 jmerelo joined
Geth doc: f64919368c | (JJ Merelo)++ | doc/Type/atomicint.pod6
States when they were introduced.

Refs #2150. I'm not sure if this is it, so not closing it for now.
11:57
synopsebot_ Link: doc.perl6.org/type/atomicint
tbrowder_ each page has “=begin pod” so we can add to that line something like “:page-order<xyy>” 11:58
squashable6 🍕 JJ++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403013268 11:59
12:00 Technato1 left 12:01 Technato1 joined
squashable6 🍕 tbrowder++ wrote a comment on “"I don't know what's introductory in perl6/doc"”: github.com/perl6/doc/issues/2145#i...-403014210 12:04
🍕🍕🍕 First contribution by tbrowder++! ♥
12:04 spycrab0 left, spycrab0 joined
Geth doc: b1f3fbbd1f | (Steve Mynott)++ | htmlify.p6
sort language index by file name to allow author control of order
12:09
doc: 2cfbe8035e | (Steve Mynott)++ | htmlify.p6
Merge branch 'stmuk'
squashable6 🍕🍕🍕 First contribution by stmuk++! ♥
🍕 stmuk++ wrote a comment on “"I don't know what's introductory in perl6/doc"”: github.com/perl6/doc/issues/2145#i...-403015396
🍕 zoffixznet++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403015460
🍕🍕🍕 First contribution by zoffixznet++! ♥
12:13 jmerelo left, yqt joined
tbrowder_ stmuk: as a start, i’add “:page-order<someval>” to each page’s “=begin pod” line. as a starting value, i’ll use “aNN” for each page where NN is the current order. Then, after that is complete, htmlify can be modified. Then the fun begins for adding category pages and page order values. 12:18
12:23 zakharyas joined, yqt left 12:24 Kaiepi left 12:29 Kaiepi joined
squashable6 🍕 mienaikage++ wrote a comment on “How to use wincompose (unicode_entry)”: github.com/perl6/doc/issues/1531#i...-403020294 12:31
🍕🍕🍕 First contribution by mienaikage++! ♥
🍕 JJ++ wrote a comment on “How to use wincompose (unicode_entry)”: github.com/perl6/doc/issues/1531#i...-403021405 12:36
scimon tyil: Just the fact it makes building, testing and releasing modules really simple. Thanks. 12:38
Geth doc: 5eac8134e0 | (Steve Mynott)++ | doc/Language/faq.pod6
add perl6books.com to faq
12:39
synopsebot_ Link: doc.perl6.org/language/faq
12:40 Technato1 left
squashable6 🍕 stmuk++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403022407 12:40
12:40 mcmillhj joined
scimon So I've fallen down a Rabbit hole and have been making a module to do percentages based on the Medium article Jo Christian Oterhals wrote. Includes of, *, +, - and =- operators 12:40
(With the unicode one of that). 12:41
+- not =-
12:41 HaraldJoerg1 is now known as HaraldJoerg
scimon (And now I'm surprised we don't have a +- operator 12:42
tyil scimon: ah 12:44
I'm interested as I develop App::Assixt, which also helps in building and releasing modules
wanted to see if there's anything in particular that I could learn from mi6 to improve assixt
12:48 wamba left
AlexDaniel scimon: +- operator? 12:48
12:50 wamba joined, Zoffix joined
Zoffix samcv: you around? 12:51
samcv Zoffix: yep 12:56
Zoffix hah, I already committed
oh wait 12:57
I forgot to save the file in my editor :S
samcv: does "Decoding/Encoding windows-1252, windows-1251 and Latin1 throw on invalid input/output" require different behaviour between language versions in *methods* of some objects?
12:58 zakharyas left
Zoffix .tell moritz I wasn't sure what your timetable was, so I deferred the ".DEFINITE @%& params" to 6.e: github.com/perl6/6.d-prep/tree/mas...te-objects If you still want them to go into 6.d, now's a good time to implement them :) 13:00
yoleaux Zoffix: I'll pass your message to moritz.
samcv Zoffix: yes
i wanted the next version to default to strict decoding of win-1251 and win-1252 13:01
Zoffix samcv: alright, then we have to defer that until 6.e, because in 6.d we won't have the machinery to do that
samcv well
13:01 zakharyas joined
Zoffix Because of R#1289 13:01
synopsebot_ R#1289 [open]: github.com/rakudo/rakudo/issues/1289 [6.e] Implement a Way to Know Caller's Language
samcv Zoffix: this line github.com/rakudo/rakudo/blob/mast...in.pm6#L14 13:02
it would be strict by default instead of being loose by defualt as it is now 13:03
so there may not be a way to do that yet
Zoffix .tell jnthn reminder that you're listed as a stakeholder for "start in sink attaches error handler" feature for 6.d: github.com/perl6/6.d-prep/blob/mas...or-handler
yoleaux Zoffix: I'll pass your message to jnthn.
Zoffix samcv: yeah, we can only make compile-time decisions based on language, ATM.
13:04 raynold left 13:05 synopsebot_ left, synopsebot joined, ChanServ sets mode: +v synopsebot
Geth doc: 92fdc6cbcf | (Steve Mynott)++ | 3 files
Probably makes more sense to have the source language first which also looks better on the webpage in terms of ordering
13:06
13:06 eiro joined
eiro hello people 13:06
Zoffix \o
sjn o/ 13:07
13:07 sjn is now known as _sjn
stmuk_ hmm there isn't a program to convert pod5 to pod6 is there? 13:07
timotimo Zoffix: any clue for optional parameters of @/% sigils? should a ? at the end implicitly change the type constraint to drop the :D? 13:09
Zoffix timotimo: I'm not the stakeholder for that feature :) 13:10
13:10 lizmat left
timotimo true 13:10
moritz: ^
moritz it should, yes 13:11
yoleaux 13:00Z <Zoffix> moritz: I wasn't sure what your timetable was, so I deferred the ".DEFINITE @%& params" to 6.e: github.com/perl6/6.d-prep/tree/mas...te-objects If you still want them to go into 6.d, now's a good time to implement them :)
13:11 _sjn left
Zoffix TBH, last night I was thinking about it and while it's true the proposal says people don't expect to accept typeobjects, it's equally true that it's not quite a problem I encountered IRL that a `@foo` parameter would all of a sudden be a type object. So to me, it feels like this is solving a hypothetical edge-case scenario, but it's introducing extra things for the programmer to learn: now a person learning 13:12
about `@foo` in parameters has to learn about `:D`/`:U` constraints at the same time
13:12 sjn_ is now known as sjn
Zoffix And now it's complicated by the fact that we're dropping the constraint conditionally, which invalidates the original purpose of the change. 13:13
Zoffix switches to -½ on that change
moritz Zoffix: we have had people in the chat asking questions that had this as root cause
Zoffix And if we're conditionally dropping that contraint from `@foo`, why aren't we dropping it from `Int:D $foo`?
moritz so it's not theoretical
Zoffix moritz: how did they end up with a typeobject in those parameters? 13:14
moritz Zoffix: my memories are fuzzy, but I think they did something like foo(bar()), and bar accidentally returned a type object 13:15
Zoffix I think it's easy to come up with all sorts of crazy special behaviour that may look easy for us to remember because we already know most of the language, but from the perspective of programmers coming to the language or programmers who use it infrequently we're weaving a complicated web of special cases and behaviours. There's already a language that does that: Perl 5. 13:16
eiro AlexDaniel``, is it ok to push in master ? because JJ fixed the 2 issues but still
* this sentence has no sense
AlexDaniel eiro: yes 13:17
eiro * a sentence start with an uppercase
* ...
ko :)
ok ):
Zoffix m: sub foo (@foo) { .say for @foo }; sub bar { Array }; foo bar
camelia Invocant of method 'iterator' must be an object instance of type 'Array', not a type object of type 'Array'. Did you forget a '.new'?
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1
Zoffix m: sub foo (@foo) { dd @foo[42] }; sub bar { Array }; foo bar 13:18
camelia Any $scalar = Any
Zoffix was expecting "out of range" error
m: Array[42]
camelia ===SORRY!===
Parameter 't' of routine 'parameterize' must be a type object of type 'Mu', not an object instance of type 'Int'. Did you forget a 'multi'?
Zoffix m: (Array)[42]
camelia ( no output )
Zoffix m: (42)[42] 13:19
camelia Index out of range. Is: 42, should be in 0..0
in block <unit> at <tmp> line 1
Zoffix like this one
13:19 lizmat joined
scimon AlexDaniel: a +- b == (a-b, a+b) 13:20
13:21 cognominal joined
eiro it seems the | is missing. X<|submethod> instead of X<submethod> 13:21
AlexDaniel scimon: oh, ±, it's mentioned here: github.com/rakudo/rakudo/wiki/save...m-ASCII#-9
eiro what is the difference ?
Zoffix m: my \a = 42; my \b = 3; say a +- b
camelia 39
Geth doc: 47cfeb56f7 | (Steve Mynott)++ | doc/Language/haskell-to-p6.pod6
haskell retitle
13:22
synopsebot Link: doc.perl6.org/language/haskell-to-p6
Zoffix :)
13:22 domidumont left
eiro hmm ... jut making it invisible with an empty label :) 13:22
scimon Yeah but that is doing a + -b Where as I'm also playing with the ± version. 13:23
AlexDaniel eiro: I think the syntax is X<text|label>
13:23 cog left
scimon This mostly comes from me playing with percentages as objects and wanting to be able to write x ± y% 13:24
AlexDaniel eiro: ah, yes. I see what you're saying now :)
13:24 domidumont joined
AlexDaniel eiro: the problem is that the text below has nothing about submethods… 13:24
eiro: well, just a little bit 13:25
Zoffix m: sub postcircumfix:<± %> { $^a+$^b | $a-$b }; say 22 ± 5%
camelia 5===SORRY!5=== Error while compiling <tmp>
Confused
at <tmp>:1
------> 3cumfix:<± %> { $^a+$^b | $a-$b }; say 227⏏5 ± 5%
expecting any of:
infix
infix stopper
postfix
statement end
13:26
squashable6 🍕 lizmat++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403033607
Zoffix m: sub postcircumfix:<± %> { $^a+$^b | $a-$b }; say 22± 5%
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing required term after infix
at <tmp>:1
------> 3ix:<± %> { $^a+$^b | $a-$b }; say 22± 5%7⏏5<EOL>
expecting any of:
prefix
term
AlexDaniel “A Submethod is a method that is not inherited by child classes” uh… what?
why? what? Am I reading this incorrectly?
lizmat no, I think that's correct ?
13:27 Technato1 joined
Zoffix Looks correct to me 13:27
scimon Zoffix: I've got a whole pile of stuff with % being a postfix operator to create a percentage object :)
AlexDaniel hm… yes, seems to be correct :) docs++
Geth doc: 0f2be9bf53 | (Marc Chantreux)++ | doc/Language/classtut.pod6
hide label of submethod entry
synopsebot Link: doc.perl6.org/language/classtut
squashable6 🍕🍕🍕 First contribution by eiro++! ♥
Geth doc: f00c099a68 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/faq.pod6
Change 6.d FAQ

  - Clarify the expectations for new features
  - Remove 6.d-prep repo; it's not for users
  - Be less vague about release date
13:28
synopsebot Link: doc.perl6.org/language/faq
doc: tbrowder++ created pull request #2153:
add a page-order config tag to all Language docs
13:30
squashable6 🍕 tbrowder++ opened pull request “add a page-order config tag to all Language docs”: github.com/perl6/doc/pull/2153
Geth doc: 4831003b7a | (Marc Chantreux)++ | doc/Language/classtut.pod6
missing L
synopsebot Link: doc.perl6.org/language/classtut
Altreus Can I go backwards with an enum to look up the name given a value? 13:31
Geth doc: 4017039ddb | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/faq.pod6
Clarify availability of 6.d features in Rakudo
synopsebot Link: doc.perl6.org/language/faq
Zoffix Altreus: .enums method gives you a list of key/value Pairs 13:32
tbrowder_ stmuk: ps
AlexDaniel m: say Signal(20)
camelia SIGTSTP
Zoffix oh
Altreus I can grep it in the perl5 way but I wondered if there were a perl6y way
AlexDaniel Altreus: like this ↑ ?
Altreus oh
Zoffix m: enum Foo (:1a, :1b, :1c, :2d); dd Foo(1)
camelia Foo::c
Zoffix That looks broken to me 13:33
m: enum Foo (:1a, :1b, :1c, :2d); dd a
camelia Foo::a
Zoffix m: enum Foo (:1a, :1b, :1c, :2d); dd +a
camelia 1
Zoffix Or at least incomplete
Altreus m: enum E(<cat dog>); E(1).^name
camelia ( no output )
Altreus m: enum E(<cat dog>); E(1)
camelia ( no output )
timotimo you have to "say" it, too
Altreus oh heh
thanks
m: enum E(<cat dog>); say E(1)
camelia dog
Altreus swish
Altreus used to perlbot
tbrowder_ stmuk: with pr #2153 pages now have a unique sorting tag, ready for htmlify pagic. 13:34
AlexDaniel Zoffix: broken because it gives only one value?
tbrowder_ *magic
Zoffix m: enum Foo (:1a, :1b, :1c, :2d); say Foo.enums.categorize(*.value){1}
camelia [b => 1 a => 1 c => 1]
Zoffix Altreus: ^ no grep :P
Altreus that's the magic 13:35
not that I doubted it but I am quite enjoying perl6
timotimo m: enum Foo (:1a, :1b, :1c, :2d); say Foo.enums.invert.Hash.perl
camelia {"1" => "c", "2" => "d"}
Altreus The only thing it's not given me out of the box so far is being able to abort a Promise.in
Zoffix AlexDaniel: Incomplete because it gives only one value or broken because it silently picks an arbitrary value from a set of available ones
timotimo m: enum Foo (:1a, :1b, :1c, :2d); say (my %).push(Foo.enums.invert)
camelia {1 => [a c b], 2 => d}
timotimo see, no categorize
AlexDaniel Zoffix: I don't think it's arbitrary, it's probably the last one
Zoffix heh
"probably" :)
AlexDaniel :) I personally have seen no tests for it 13:36
timotimo i hope it relies on hash order :P
AlexDaniel but maybe it is tested, I don't know
13:36 Zoffix left
AlexDaniel but I don't think it's incomplete 13:39
timotimo i would not expect MyEnum(1) to give me anything but an instance of MyEnum
i.e. not a list
AlexDaniel you said “give me enum entry that has value 0” and it answered “here you go: c”
13:40 Zoffix joined
timotimo perhaps if you have debug output, like you get something returned from a C library and you want to output what enum values it corresponds to but you don't know the "context" 13:40
Zoffix Just realized why Array[42] gives Any: it's needed for autovivification magic
13:40 Zoffix left
timotimo yup 13:40
well, the scalar is what's responsible, not the Any itself 13:41
but that's the reason it doesn't, for example, throw an exception
except if you have a shaped array, in that case autoviv doesn't exist
raschipi That's why I was confused. I just saw normal autovivification and thought: what is he on about? 13:42
timotimo i must have missed where he was first confused about that
ah, there it is
AlexDaniel timotimo: well, we can make it return any() junction, and then bring popcorn to see the world burn and people scream in pain :D 13:43
at least no one will argue that it is “incomplete” :D
AlexDaniel runs away to take a nap before he gets more bright ideas 13:45
Geth doc: b97b039809 | (Zoffix Znet)++ | doc/Type/IO/Handle.pod6
Loosen language around `-` special path

We won't be able to unmagicallize it in 6.d, but later we will
13:46
synopsebot Link: doc.perl6.org/type/IO::Handle
Juerd m: (1, 2)(3) 13:48
camelia Invocant of method 'CALL-ME' must be a type object of type 'List', not an object instance of type 'List'. Did you forget a 'multi'?
in block <unit> at <tmp> line 1
Juerd The error message is maybe trying too hard to help out here :) 13:50
lizmat m: dd List(2,3,4) # it's a consequence of this 13:51
camelia (2, 3, 4)
timotimo maybe it should have a parameter in the exception message "this type is from core" so it doesn't suggest "you forgot something?" 13:52
Juerd lizmat: I understand that but I doubt anyone new to the language will :) 13:55
I encountered this when expanding a whatevercode expression with a comma :) 13:56
It did puzzle me for a minute or so 13:57
14:00 robertle left
Geth doc: e640491477 | (Zoffix Znet)++ | 2 files
Loosen language in 6.d deprecation warnings

  - .path talks about Rakudo specifically; toss versions, since
   we won't actually be able to emit those warnings
  - Pair.freeze: remove version from message. Deprecation was deferred
   to 6.e and I don't think the proposal has had enough eyes yet
   to guarantee removal will occur.
14:01
14:01 jmerelo joined
squashable6 🍕 JJ++ submitted a review on pull request “add a page-order config tag to all Language docs”: github.com/perl6/doc/pull/2153#pul...-135028206 14:07
Geth doc: 58323af3a0 | (Tom Browder)++ | 67 files
add a page-order config tag to all Language docs
14:11
doc: 6794a8497d | (Tom Browder)++ (committed using GitHub Web editor) | 67 files
Merge pull request #2153 from tbrowder/page-order

add a page-order config tag to all Language docs
squashable6 🍕 tbrowder++ merged pull request “add a page-order config tag to all Language docs”: github.com/perl6/doc/pull/2153
14:11 psychoslave left, psychoslave joined 14:12 mcmillhj_ joined 14:13 mcmillhj left 14:16 jmerelo left
Geth doc: 76c9797d7e | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/faq.pod6
Clarify CPAN FAQ

Mention that modules don't show up on metacpan.org, since a lot of people seem to mean MetaCPAN when they say "CPAN".
14:16
synopsebot Link: doc.perl6.org/language/faq
doc: 20dc2c29be | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/faq.pod6
Make NativeCall a link
14:18
synopsebot Link: doc.perl6.org/language/faq
14:22 subr joined, subroot joined
Geth doc: e2289689df | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/faq.pod6
Use more links and truth

  - Actually link to referenced modules
  - s/trivially simple/fairly easy/ to be more truthful
14:24
synopsebot Link: doc.perl6.org/language/faq
14:25 pmurias joined 14:26 epony left 14:32 sno left, epony joined 14:33 Technato1 left 14:36 lizmat left 14:44 lizmat joined, skids joined 14:48 benjikun joined 14:49 wamba left, benjikun2 left 14:50 robertle joined
jkramer ZofBot: Heyho, I'm back, although a day late. :) Does this sound alright in regards to the non-released change? I basically copied and combined your suggestions from two days ago 14:51
ZofBot: dpaste.com/0B5F45S.txt
14:54 molaf joined 14:56 troys joined 15:03 scimon left
lizmat commute to NLPW& 15:04
15:04 lizmat left 15:06 Kaiepi left 15:07 Kaiepi joined 15:08 csegura joined 15:13 fake_space_whale joined 15:15 Zoffix joined
Zoffix So is it "Perl 6.d 'Diwali'", "Perl 6 6.d 'Diwali'", "Perl 6 'Diwali' 6.d" or something else? 15:16
jkramer: looks good
15:18 csegura left
Juerd Zoffix: I suggest "Perl 6.d (Diwali)" 15:18
Zoffix 👍
Juerd Whatever that is, my terminal doesn't render it :) 15:19
Zoffix u: 👍
unicodable6 Zoffix, U+1F44D THUMBS UP SIGN [So] (👍)
Juerd :)
Geth doc: 11b5ae8eb3 | (Jonas Kramer)++ | doc/Type/IO.pod6
Re-added documentation for rakudo/rakudo#1906.
15:20
synopsebot Link: doc.perl6.org/type/IO
squashable6 🍕🍕🍕 First contribution by jkramer++! ♥
synopsebot RAKUDO#1906 [open]: github.com/rakudo/rakudo/issues/1906 [RFC][docs needed][easy to resolve][good first issue][testneeded] [RESOLVED; NEED TEST] &prompt should pass stuff through `val`
raschipi Should I put Zalgo text here again to convince people to get better terminals?
Juerd raschipi: Nah, I just needed to apt-get install fonts-symbola 15:21
jkramer squashable6: Lies! I contributed plenty of (tiny) doc fixes
squashable6 jkramer, ALRIGHT, LET'S DO IT!!!
jkramer :D
15:21 domidumont left
Juerd Ooh, fonts-noto-color-emoji is prettier. 15:22
15:22 hudo left
Juerd juerd.nl/i/c4770e43bff7b4bed5b1ae839ceeeead.png 15:22
Huh, suddenly they're everywhere 15:23
And it seems like a good spam filter to just block all mail with emoji in the subject
Half of my manually deleted (well, moved to different folder) emails have them 15:24
geekosaur gets a few messages with emoji (commercial but solicited), so not so useful here 15:25
ingy masak: can you tell me how to set up colabti? 15:26
15:38 subr left, subroot left 15:41 FROGGS joined 15:42 raschipi left
Zoffix Wonder if promoting Perl 6 counts as "commercial use" 15:43
Juerd It shouldn't 15:48
Zoffix No? :) OK 15:52
Zoffix limbos under the legal bar
15:52 sena_kun joined
Juerd Perl 6 itself is not a for-profit or commercial project 15:53
And that it may also be used for profit or commercial projects, is not relevant
15:56 zakharyas left, Xliff left
Zoffix What about TPF grants? That don't count? Like if someone is doing a grant and is promoting P6 and is benefitting directly from it? 15:56
Juerd TPF is a non-profit organisation 15:57
Getting paid for something doesn't necessarily make that something a commercial endeavour
It's normal for non-profit organisations to have paid employees and to pay external workers 15:58
mst Zoffix: this sounds like you have some sort of specific worry 15:59
Zoffix Ah, OK. 16:05
mst: yeah, I'm making some Diwali flyers and this sexy font is not allowed for commercial use :) www.dafont.com/pw-curvy-regular-script.font 16:06
mst I would imagine that, provided you're not charging for the result, you're fine 16:07
Zoffix cool
mst well and also not promoting a for-profit company
but promoting perl6 doesn't suffer from either of those
El_Che in .be real grants are exempt from taxes 16:19
Zoffix in .ca I had to give ~33% of mine to gov
16:19 psychoslave left
El_Che as there is a difference between a grant and employement 16:20
the ltter being commercial even if the organisation is a non-profit
Zoffix: as expected, not everyone can give grants around here
mostly academic and scientific organisations
(universities's grant is just employment which grants you taxes, but also social protection) 16:21
heat and trains is a bad combination (waiting in a broken train to me moved from the tracks) 16:23
squashable6 🍕 nxadm++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403083626 16:30
🍕🍕🍕 First contribution by nxadm++! ♥
16:30 fake_space_whale left
El_Che do I get a pizza for that :) 16:30
wow
16:33 dakkar left, Khisanth left 16:43 domidumont joined 16:46 wamba joined 16:47 Khisanth joined
stmuk_ does =output work correctly in pod6? it seems to gobble whitespace when the docs say it shouldn't? 16:48
Zoffix stmuk_: that should be fixed on HEAD
R#1979
synopsebot R#1979 [closed]: github.com/rakudo/rakudo/pull/1979 Fix GH #1968: input/output block lines are squeezed
stmuk_ ah 16:49
squashable6 🍕 moritz++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403088706 16:50
🍕🍕🍕 First contribution by moritz++! ♥
🍕 nxadm++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403090613 16:57
🍕 moritz++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403090711 16:58
Geth marketing: 0e9d2965af | (Zoffix Znet)++ | 13 files
Add `await` 6.d teaser flyer / ID 1530896495
17:08
stmuk_ is that a private repo? 17:10
oops I copy and pasted wrong 17:11
17:11 mcmillhj_ left
Zoffix stmuk_: marketing? No, it's public 17:12
17:13 perlpilot joined 17:15 domidumont left, psychoslave joined 17:22 mcmillhj joined 17:25 Zoffix left 17:26 psychoslave left 17:28 mcmillhj left 17:36 mcmillhj joined 17:41 mcmillhj left 17:48 pecastro left 17:49 mcmillhj joined 17:55 mcmillhj left, mcmillhj joined 18:17 psychoslave_ joined 18:24 mniip joined 18:25 sauvin left
squashable6 🍕 AlexDaniel++ wrote a comment on “No books mentioned in Perl 6 documentation”: github.com/perl6/doc/issues/2143#i...-403112080 18:25
18:29 uzl joined
uzl m: for 'computer'.comb -> $l1, $l2 { print $l1, $l2," " } 18:32
camelia co mp ut er
18:32 Kaiepi left
uzl m: for 'ocean'.comb -> $l1, $l2 { print $l1, $l2," " } 18:32
camelia oc Too few positionals passed; expected 2 arguments but got 1
in block <unit> at <tmp> line 1

ea
uzl m: for 'ocean'.comb -> $l1, $l2='' { print $l1, $l2," " } 18:33
camelia oc ea n
uzl Is using a default positional argument in a pointy block the right way to account for a word with an odd letter count in the previous example? 18:34
moritz uzl: I'd say it's one valid way
m: for 'ocean'.comb(2) -> $ls { print $ls, " " } 18:35
camelia oc ea n
perlpilot uzl: for what you were doing, probably. Typically, it looks something like this: for 'ocean'.comb -> $l1, $l2? { ... } but then you get an uninit value
18:35 Kaiepi joined
perlpilot uzl: When I said "typically", I wasn't being specific to .comb :-) 18:36
uzl moritz: yes, one valid way ;) 18:37
perlpilot: it's a simplified version of this: github.com/LaurentRosenfeld/thinkp...3857-L3860 18:38
it seems to throw an error when it finds an odd-numbered word. 18:39
perlpilot yeah, because you get an uninitialized value in the mix 18:41
my gut reaction to that would be to use classify, but tmtowtdi :) 18:42
or maybe for $word.comb -> $even, $odd? { push @evens with $even; push @odds, $odd with $odd; } 18:43
moritz m: say [Z] 'ocean'.comb.map: -> $a, $b? { ($a, $b) } 18:44
camelia ((o e n) (c a (Mu)))
moritz m: say [Z] 'ocean'.comb.map: -> $a, $b? { ($a, $b).grep(&defined) }
camelia Cannot resolve caller ACCEPTS(Sub+{is-pure}: Str); none of these signatures match:
(Mu:U: \topic, *%_)
(Mu:U: Mu:U \topic, *%_)
in block <unit> at <tmp> line 1
AlexDaniel m: for 'ocean'.comb.rotor(2) { .say }
camelia (o c)
(e a)
AlexDaniel m: for 'ocean'.comb.rotor(2, :partial) { .say } 18:45
camelia (o c)
(e a)
(n)
moritz m: say [Z] 'ocean'.comb.map: -> $a, $b? { ($a, $b).grep(*.defined) }
camelia ((o e n))
moritz oh, [Z] doesn't like lists of different lengths
AlexDaniel you can try roundrobin
moritz m: say 'ocean'.comb.map( -> $a, $b? { ($a, $b).grep(*.defined) }).roundrobin
camelia No such method 'roundrobin' for invocant of type 'Seq'
in block <unit> at <tmp> line 1
perlpilot That's part of the beauty of TMTOWTDI, it fires off all kinds of neurons in your brain :)
moritz m: say 'ocean'.comb.map( -> $a, $b? { ($a, $b).grep(*.defined) }).list.roundrobin
camelia No such method 'roundrobin' for invocant of type 'List'
in block <unit> at <tmp> line 1
moritz m: say &roundrobin 18:46
camelia sub roundrobin (|) { #`(Sub|62174272) ... }
18:46 robertle left
moritz m: say roundrobin 'ocean'.comb.map( -> $a, $b? { ($a, $b).grep(*.defined) }) 18:46
camelia ((o e n) (c a))
uzl perlpilot: that's what I'm seeing!
moritz thought that's quite a beast we came up with here :-)
18:47 Zoffix joined
Zoffix m: say "ocean".comb.batch: 2 18:47
camelia ((o c) (e a) (n))
Zoffix (shorter version of `.rotor($n, :partial)`
)
moritz oh, batch is nice 18:48
m: say roundrobin "ocean".comb.batch: 2
camelia ((o e n) (c a))
AlexDaniel (available since rakudo 2017.02 it seems) 18:49
uzl I'll probably go with the most obvious, albeit less elegant way. the positional parameter defaulted to an empty string.
AlexDaniel uzl: depending on how large your data is, you might also want to measure performance of different solutions 18:50
uzl But this is awesome! So many ways to approach the same problem! :)
perlpilot uzl: programming isn't about elegance, it's about getting stuff done ;)
uzl I was about to submit a pull request to the book's Github repo. Probably will just point the author to this thread. 18:52
perlpilot uzl: so you've been using "Think Perl 6" for learning? What do you think of it? 18:55
uzl perlpilot: It's been great. Even though Perl 6 is an extensive language, Laurent covers a lot ground with that book. Certainly useful for complete beginners 19:00
19:00 natrys joined
uzl to computer science, programming and Perl 6. 19:00
perlpilot I haven't really looked at the book extensively, but that's the impression I got from speed reading a few sections. So, I pointed my 12 year old son at it for learning. He hasn't gotten very far, but I think he's doing okay. 19:01
19:02 Zoffix left
uzl perlpilot: It's a great book. He should learn a few things if he commits to it and do the exercises. The solutions in the back are really detailed so it's worth look into them. 19:05
19:05 telex joined
uzl perlpilot: There have been few commits to the repo with few fixes and corrections after the book was published. Probably worth looking into the commit history to spot the errors in the physical copy if that's what he's using. 19:09
19:09 Xliff joined
perlpilot he's looking at the pdf so i'll keep that in mind 19:11
19:12 Xliff left
uzl that's fine then! 19:13
19:13 uzl left 19:23 perlpilot left 19:40 pecastro joined 19:56 benjikun2 joined 19:58 benjikun left 20:07 pecastro left 20:13 pecastro joined 20:51 lizmat joined 21:05 rindolf left 21:06 psychoslave_ left, rindolf joined 21:11 skids left 21:12 perlpilot joined
buggable New CPAN upload: PDF-Class-0.2.5.tar.gz by WARRINGD modules.perl6.org/dist/PDF::Class:cpan:WARRINGD 21:15
21:26 mcmillhj left 21:36 wamba left 21:43 MasterDuke left 21:46 HaraldJoerg left 21:50 MasterDuke joined 21:58 Xliff joined
Xliff m: my $a = -> $a { $a }; 21:58
camelia ( no output )
Xliff m: my $a = -> $a { $a }; say $a.^name;
camelia Block
21:59 pecastro left
Xliff m: my $a = -> $a { $a }; say $a(42) 21:59
camelia 42
21:59 koto joined
Xliff m: my $a = -> $a --> Int { $a }; say $a(42) 21:59
camelia 42
Xliff m: my $a = -> $a --> Int { $a }; say $a("B:)
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in double quotes; couldn't find final '"' (corresponding starter was at line 1)
at <tmp>:1
------> 3y $a = -> $a --> Int { $a }; say $a("B:)7⏏5<EOL>
expecting …
Xliff m: my $a = -> $a --> Int { $a }; say $a("B")
camelia Type check failed for return value; expected Int but got Str ("B")
in block <unit> at <tmp> line 1
22:00 sena_kun left, koto left
Xliff m: my $a = -> Int $a --> { $a }; say $a("B") 22:00
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> 3my $a = -> Int $a -->7⏏5 { $a }; say $a("B")
Xliff m: my $a = -> Int $a { $a }; say $a("B")
camelia Type check failed in binding to parameter '$a'; expected Int but got Str ("B")
in block <unit> at <tmp> line 1
Altreus I seem to remember an idiomatic way of conditionally adding a pair to a list; in perl5 I'd do (x => $y) x!! $y, for example 22:04
anyone able to read my mind and know what I mean? :) 22:05
Xliff m: my $a = -> Int $a { $a }; say $a("B")
camelia Type check failed in binding to parameter '$a'; expected Int but got Str ("B")
in block <unit> at <tmp> line 1
22:09 epony left 22:10 psychoslave_ joined
Juerd m: ( :foo<bar>, (:quux<xyzzy> if Bool.pick) ).perl.say 22:15
camelia (:foo("bar"), :quux("xyzzy"))
22:15 molaf left
Juerd m: ( :foo<bar>, (:quux<xyzzy> if Bool.pick) ).perl.say 22:15
camelia (:foo("bar"), :quux("xyzzy"))
Juerd m: ( :foo<bar>, (:quux<xyzzy> if Bool.pick) ).perl.say
camelia (:foo("bar"),)
Juerd Altreus: Is that what you meant with conditionally adding a pair to a list? 22:16
Altreus yes - but can I do it without repeating myself?
Juerd Wat bedoel je?
Altreus (:quux<$cat> if $cat)
Juerd Er, what do you mean?
Altreus can I do this without repeating $cat? 22:17
Juerd Altreus: Did you mean :quux«$cat»? :)
Altreus I seem to remember I did something similar
ah, probably, I'm new to this
:)
timotimo i'd strongly recommend :quux($cat) instead
m: my $thing = "hello how are you"; say (:quux«$thing»).perl 22:18
camelia :quux(("hello", "how", "are", "you"))
timotimo it does splitting
Altreus I vaguely remember asking something similar but I can't find what I was doing that prompted me to ask
so I can't find the answer :)
22:18 wamba joined
Altreus ah it might have been on my old laptop 22:19
I mean it's not heck of long to repeat the variable
(:$cat if $cat) 22:20
ah just realised I'm not making a hash, I'm making a parameter list 22:21
if I give it (:$cat if $cat), it says the default constructor only takes named arguments
timotimo then you just need a | in front as well as ( ) around the stuff
Altreus grand
I was going to try that but it felt like clutching at straws 22:22
trust your instincts, Fox
timotimo DAD?!?!
Altreus ^-^
22:24 perlpilot left
Altreus now I want to play lylat wars :( 22:29
going to go to bed and dream of it. nn
timotimo aha, european? 22:30
22:36 raynold joined 22:45 natrys left 22:47 lizmat left 23:00 epony joined 23:06 wamba left, psychoslave_ left 23:21 benji__ joined 23:25 benjikun2 left
Xliff my $a = sub ( say $_ }; $a(42); 23:32
m: my $a = sub ( say $_ }; $a(42);
camelia 5===SORRY!5=== Error while compiling <tmp>
Invalid typename 'say' in parameter declaration.
at <tmp>:1
------> 3my $a = sub ( say7⏏5 $_ }; $a(42);
Xliff m: my $a = sub { say $_ }; $a(42); 23:33
camelia Too many positionals passed; expected 0 arguments but got 1
in sub at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: my $a = sub(…) { say $_ }; $a(42);
camelia 5===SORRY!5===
Word 'sub' interpreted as 'sub()' function call; please use whitespace around the parens
at <tmp>:1
------> 3my $a = sub7⏏5(…) { say $_ }; $a(42);
Unexpected block in infix position (two terms in a row)
at <tmp>:1…
Xliff m: my $a = sub() { say $_ }; $a(42);
camelia 5===SORRY!5===
Word 'sub' interpreted as 'sub()' function call; please use whitespace around the parens
at <tmp>:1
------> 3my $a = sub7⏏5() { say $_ }; $a(42);
Unexpected block in infix position (two terms in a row)
at <tmp>:1
23:36 pmurias left 23:37 pmurias joined, cpage_ joined 23:38 zachk joined, zachk left, zachk joined 23:39 ChoHag left 23:40 cpage_ is now known as cpage
rindolf Altreus: hi 23:41
23:43 ChoHag joined 23:52 pmurias left