Camelia, the Perl 6 bug

IRC log for #perl6, 2015-04-27

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs

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

All times shown according to UTC.

Time Nick Message
00:07 tinyblak joined #perl6
00:18 TimToady and that fails no tests, so obviously we never tested the flattening of the method forms
00:19 dalek roast: 931a0de | TimToady++ | S03-junctions/misc.t:
00:19 dalek roast: test that junctional methods do not flatten
00:19 dalek roast: review: https://github.com/perl6/roast/commit/931a0de3bc
00:20 laouji_ joined #perl6
00:21 TimToady m: say ((1,2,3),(4,5,6)).any == 3
00:21 camelia rakudo-moar b80de3: OUTPUT«any(True, True)␤»
00:22 TimToady m: say any((1,2,3),(4,5,6)) == 3
00:22 camelia rakudo-moar b80de3: OUTPUT«any(False, False, True, False, False, False)␤»
00:22 TimToady what it used to say
00:26 hobbs joined #perl6
00:36 ssqq joined #perl6
00:36 dalek roast: 44d4696 | TimToady++ | S03-junctions/misc.t:
00:36 dalek roast: also test that listop forms are flattening
00:36 dalek roast: review: https://github.com/perl6/roast/commit/44d46964d4
00:39 laouji_ joined #perl6
00:41 jnthn joined #perl6
00:43 gcole joined #perl6
00:44 TimToady note this change may also have ecosystem fallout, even though roast didn't
00:48 laouji_ joined #perl6
00:57 raiph .tell jepeway I've added a comment to your gist
00:57 yoleaux raiph: I'll pass your message to jepeway.
01:00 colomon http://smoke.perl6.org/report looks like there has already been some ecosystem issue over the weekend… bunch of new failures since the 23rd.
01:00 yoleaux 24 Apr 2015 07:09Z <nine> colomon: ah, yes, I do not handle overloading at all, yet. Maybe I should have a look at that soonish.
01:01 TimToady well, this is the part of the GLR we knew we need to get out of the way because API
01:03 colomon TimToady: aye, I just hope someone looks at the issues.  :)
01:03 colomon any idea how pm’s team did in the robot worlds this weekend?
01:04 TimToady ain't heard
01:22 Spot__ joined #perl6
01:46 ilbot3 joined #perl6
01:46 Topic for #perl6 is now »ö« Welcome to Perl 6! | http://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, std:, or /msg camelia p6: ... | irclog: http://irc.perl6.org | UTF-8 is our friend! | feather will shut down permanently on 2015-03-31
01:48 chenryn joined #perl6
01:51 ugexe example output for a better picture: https://gist.github.com/ugexe/dd3169b7fe1a80e30ef6
02:05 yeahnoob joined #perl6
02:08 aborazmeh joined #perl6
02:08 aborazmeh joined #perl6
02:16 dalek rakudo/nom: 9f7c71f | TimToady++ | src/core/Junction.pm:
02:16 dalek rakudo/nom: remove commented code
02:16 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/9f7c71f34f
02:32 gcole joined #perl6
02:40 ssqq joined #perl6
02:42 ssqq I think the method `first` of `List` should have default behaviour just like Lisp: get the first element of List.
02:43 ssqq (1,2,3).first #=> 1
02:44 ssqq (1,2,3).last #=> 3; (1,2,3).rest #=> (2,3)
02:48 konsolebox joined #perl6
02:53 raiph joined #perl6
02:55 TimToady why duplicate [0] and such?
02:55 noganex_ joined #perl6
02:56 TimToady and most of the time we end up dealing with that using binding: ($first, *@rest)
02:57 TimToady besides, it should obviously be .car and .cdr :)
03:08 ssqq TimToady: last elements of array `[*-1]` is ugly, .last is better.
03:11 ssqq TimToady: .car and .cdr have been out of style, `first` and `last` is modern.
03:13 TimToady last is terribly ambiguous ("previous"?) and last already means something else in Perl
03:14 TimToady and nothing about Lisp can be construed as "modern" :P
03:14 TimToady except in the prior-to-postmodern sense :)
03:15 ssqq TimToady: I think `(1,2,3).first` is more natural than `(1,2,3)[0]`
03:15 TimToady and we're not in the business of pulling in every meme we can from other languages anyway--that was Perl 1's jobb :)
03:16 TimToady and why overload .first anyway, when .head is unambiguous
03:16 ssqq Maybe I poison in `Lisp` too much.
03:16 TimToady we're quite willing to borrow ideas from other languages, but specific syntax...not so much...
03:17 dalek rakudo/nom: 13aed01 | TimToady++ | src/core/Hash.pm:
03:17 dalek rakudo/nom: flattery gets .classify and .categorize nowhere
03:17 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/13aed01b86
03:29 ssqq_ joined #perl6
03:32 dalek rakudo/nom: fff887e | TimToady++ | src/core/Any.pm:
03:32 dalek rakudo/nom: min/max/minmax deflatting
03:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fff887e611
03:32 skids std: grammar A { token foo-bar { <[A]> }; token TOP { <[B] + foo-bar> } };
03:32 camelia std 28329a7: OUTPUT«ok 00:00 138m␤»
03:33 skids m: grammar A { token foo-bar { <[A]> }; token TOP { <[B] + foo-bar> } };
03:33 camelia rakudo-moar 9f7c71: ( no output )
03:33 skids oh its runtime.
03:33 skids m: grammar A { token foo-bar { <[A]> }; token TOP { <[B] + foo-bar> } }; A.parse("A");
03:33 camelia rakudo-moar 9f7c71: OUTPUT«Method 'bar' not found for invocant of class 'A'␤  in regex TOP at /tmp/7frYnpHMaF:1␤  in method parse at src/gen/m-CORE.setting:16852␤  in block <unit> at /tmp/7frYnpHMaF:1␤␤»
03:45 dalek ecosystem: 71068f3 | (David Farrell)++ | META.list:
03:45 dalek ecosystem: Added Pod::Perl5
03:45 dalek ecosystem: review: https://github.com/perl6/e​cosystem/commit/71068f3e1a
04:00 rhr joined #perl6
04:01 konsolebox joined #perl6

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

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs