Without the guff, sorry:
david@X346:~$ perl6 -v
This is Rakudo version 2017.03-128-g87fe800 built on MoarVM version
2017.03-87-g5d73bf4
implementing Perl 6.c.
david@X346:~$ echo "class Tst { constant X = set < x y >; }" > Tst.pm
david@X346:~$ perl6 -I . -M Tst
===SORRY!===
Missing serialize REPR f
# New Ticket Created by David Warring
# Please include the string: [perl #131112]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=131112 >
david@X346:~$ perl6 -v
This is Rakudo version 2017.03-128-g87fe800 built on MoarVM versi
On Thu, 06 Apr 2017 13:46:00 -0700, alex.jakime...@gmail.com wrote:
> Code:
> my @a = ;
> my @b = <1 2 3>;
> my @c = @a, @b;
> say @c
>
> Result:
> [[a b c] [1 2 3]]
>
>
> So with arrays, nothing is flattened and you get an array with two
> elements. Makes sense.
>
> And if we want to get a dif
IIRC this hash behavior is deliberate so that hashes can be accumulated.
Also, your proposed behavior would require an object hash, not a standard
hash; (%a => %b) would necessarily stringify %a.
On Thu, Apr 6, 2017 at 4:46 PM, Aleks-Daniel Jakimenko-Aleksejev <
perl6-bugs-follo...@perl.org> wrote
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #13]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=13 >
Code:
my @a = ;
my @b = <1 2 3>;
my @c = @a, @b;
say @c
Result:
[[a
Tests were merged here:
https://github.com/perl6/roast/commit/c0870cab72b75bfd66580b5248d9465edc4fea04
On Thu, Apr 6, 2017 at 6:18 PM Elizabeth Mattijsen via RT <
perl6-bugs-follo...@perl.org> wrote:
> Fixed with c0eb9bd10f , tests needed
>
> > On 6 Apr 2017, at 05:48, Lloyd Fournier (via RT) <
Fixed with c0eb9bd10f , tests needed
> On 6 Apr 2017, at 05:48, Lloyd Fournier (via RT)
> wrote:
>
> # New Ticket Created by Lloyd Fournier
> # Please include the string: [perl #131106]
> # in the subject line of all future correspondence about this issue.
> # https://rt.perl.org/Ticket/Dis