Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-12-09

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:45 vendethiel joined #6macros
08:36 Ven joined #6macros
10:28 masak I love the smell of the roadmap shrinking in the morning
10:28 Ven masak: can you give me your opinion on https://perl6advent.wordpress.com/?p=‚Äč3504&preview=true&iframe=true ?
10:28 Ven well, I also don't have a slot for that advent post :/
10:29 masak I'm sure someone would be willing to trade their slot
10:30 masak Index 3 for dimension 2 out of range (must be 0..1)
10:30 masak > @ints[4;1]
10:30 masak er
10:30 masak > @ints[4;3]
10:30 masak Index 3 for dimension 2 out of range (must be 0..1)
10:31 masak in that one, it confused me that *both* were out of range, and that the error message was about the second one
10:31 masak maybe fix that?
10:31 masak otherwise, looks fine
10:33 Ven okay, thanks :)
10:33 Ven It's missing a punchline still.
10:51 masak hm, #82 is nominally fixed, but I notice operators still don't survive being spliced.
10:51 masak $ perl6 bin/007 -e='macro moo() { sub infix:<**>(l, r) { return l ~ " to the " ~ r }; return quasi { "pedal" ** "metal" } }; moo()'
10:51 masak Method 'eval' not found for invocant of class 'Any'
11:59 pdcawley_ joined #6macros
12:26 Ven joined #6macros
15:13 Ven joined #6macros
16:13 FROGGS joined #6macros
17:10 Ven joined #6macros
18:37 Ven joined #6macros
18:49 Ven joined #6macros
18:55 Ven joined #6macros
19:17 Ven joined #6macros
20:06 Ven joined #6macros
20:15 Ven joined #6macros
20:38 Ven joined #6macros
20:40 Ven joined #6macros
20:45 Ven joined #6macros
20:59 Ven joined #6macros
21:10 masak one down, one to go :)
21:10 masak wrt https://github.com/masak/007/issues/82
22:01 masak hm.
22:01 masak bit of an unexpected design problem on this one.
22:01 masak macro gah() { return quasi { say(2 + 2) } }; sub infix:<+>(l, r) { return "lol, pwnd!" }; gah()
22:02 masak gives "lol, pwnd!" even after I applied the fixes I expected would help.
22:02 masak however, adding a block around the mainline code makes it work:
22:02 masak macro gah() { return quasi { say(2 + 2) } }; { sub infix:<+>(l, r) { return "lol, pwnd!" }; gah() }
22:02 masak prints "4"
22:03 masak hm... this seems consistent with Perl 6 behavior, though.
22:04 masak I just hadn't considered that overridden operators can be post-declared
22:05 masak ok -- well, then. in that case there's not much to worry about :)

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary