Perl 6 - the future is here, just unevenly distributed

IRC log for #p6dev, 2016-04-02

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

All times shown according to UTC.

Time Nick Message
00:24 skids joined #p6dev
03:34 geekosaur joined #p6dev
05:20 sortiz joined #p6dev
05:39 geekosaur joined #p6dev
06:54 Woodi joined #p6dev
08:13 RabidGravy joined #p6dev
12:46 Skarsnik joined #p6dev
18:18 awwaiid eek re rakudo.org
18:43 timotimo oh, rakudo.org lives again
19:34 nine jnthn: in a somewhat desparate attempt, I've tried reversing my heading and use a separate SC for the EVAL but not push it onto the SC stack. Surprisingly I arrive at exactly the same error as with the shared SC: QAST -> MAST failed while compiling op callmethod: Serialization Error: missing static code ref (0x4ddb620) for closure '<unit>' sf cuuid (1) from 'perl6'
20:27 dalek joined #p6dev
20:29 lizmat joined #p6dev
21:09 dalek rakudo/nom: 87036f7 | 0racle++ | src/core/Any-iterable-methods.pm:
21:09 dalek rakudo/nom: Add kv adverb to first
21:09 dalek rakudo/nom:
21:09 dalek rakudo/nom: This was first noticed [here](http://irclog.perlgeek.de/perl6/2016-03-31#i_12267194)
21:09 dalek rakudo/nom:
21:09 dalek rakudo/nom: The docs define first as
21:09 dalek rakudo/nom: ````
21:09 dalek rakudo/nom: multi sub    first(Mu $matcher, *@elems, :k, :kv, :p, :end)
21:09 dalek rakudo/nom: multi method first(List:D:  Mu $matcher, :k, :kv, :p, :end)
21:09 dalek rakudo/nom: ```
21:09 dalek rakudo/nom: However there is no `:kv` adverb implemented. Although [S32](http://design.perl6.org/S32/Containers.html) does not mention a `first-kv`, there's a reasonable user expectation that `first` would have same adverbs as `grep`.
21:09 dalek rakudo/nom:
21:28 dalek rakudo/nom: 10527db | lizmat++ | src/core/Any-iterable-methods.pm:
21:28 dalek rakudo/nom: We don't need a .Seq here
21:28 dalek rakudo/nom:
21:28 dalek rakudo/nom: The fact that .grep :kv returns a Seq, is because .grep can return
21:28 dalek rakudo/nom: 0 through N elements.  .first always only returns 1 element, which
21:28 dalek rakudo/nom: is a Pair in the case of :p, and a List in the case of :kv
21:28 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/10527db069
21:30 dalek roast: 2108749 | lizmat++ | S32-list/first- (2 files):
21:30 dalek roast: Add .first(:kv) tests
21:30 dalek roast:
21:30 dalek roast: 0racle++ for supplying the tests
21:30 dalek roast: review: https://github.com/perl6/roast/commit/210874914e
21:45 dalek rakudo/nom: b3b24bf | lizmat++ | t/spectest.data:
21:45 dalek rakudo/nom: Add .first :kv tests, 0racle++ for providing
21:45 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b3b24bf29f

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