… on JVM
…k to Perl 6
…ad of Parrot-specific methods
…ve type coercions like nqp::add_n($x,1)
pmichaud didn't like it. And he was right. :-)
As discussed at: http://irclog.perlgeek.de/perl6/2013-06-14#i_7197917
As suggested at http://irclog.perlgeek.de/perl6/2013-06-14#i_7197427
So that we can return non-string values from test block if necessary. This is unspecced. If this feels right for TimToady / pmichaud, it should be specced. If this doesn't feel right, then I'll revert this patch.
To match S32/Containers:191
I wonder whether "infinite" shouldn't become a true attribute on List, rather than a method that calculates stuff. And/or use MMD with a different candidate for Infinite lists.
The latter was suggested on #perl6 by TimToady, as I recall. Possible thanks to the work of pmichaud on Hash.new.
This patch updates Hash.new so that it correctly understands how to create typed hashes from a parameterized Hash type object. In particular, `Hash[Str,Int].new` will create a hash constrained to Int keys and Str values. This patch at least partially addresses perl6/specs#43 . Note that this doesn't resolve the output of `.perl` on typed hashes; that's a different problem (having to do with the definition of `Hash.perl` and/or `TypedHash.perl`). And `.perl` is due for some redesign as well, see perl6/specs#6 .
as the value specified doesn't really matter in this case, and it is the same as the zen-slice logic.