Thanks ToddAndMargo Perhaps I have some questions to help improve the docs (I think):
1- You told about arrays of hashes, in Perl5 the opposite (hashes of arrays) is quite fuzzy. Then, in Raku, how do I deal with hashes of arrays? 2 - "[...]say %h<a b>:p; # note: no comma between the a and the b[...]", that is interesting because using comma or semi-coma I had different behavior. perl6 -e 'my %h = a => "x", b=>"r", c=>"z"; say %h<a c>:p' perl6 -e 'my %h = a => "x", b=>"r", c=>"z"; say %h<a, c>:p' perl6 -e 'my %h = a => "x", b=>"r", c=>"z"; say %h<a; c>:p' Sure, you notice I used "perl6" instead "raku". I'm not updated. On Wed, Jan 15, 2020 at 10:28 PM ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > >> On Wed, Jan 15, 2020 at 6:00 PM ToddAndMargo via perl6-users > >> <perl6-us...@perl.org <mailto:perl6-us...@perl.org>> wrote: > >> > >> A recent addition to my hashes keeper: > >> > >> > >> Confining hashes: > >> Note: as of 2020-01-15, confining only works with Str. > >> And you must confine the entire hash, not each member > >> > >> my Str %h = A => "a" > >> {A => a} > >> > >> my int %h = A => 123 > >> native value types for hashes not yet implemented. Sorry. > >> > > On 2020-01-15 18:27, yary wrote: > > Capital I in Int, to not use native type > > > >> my Int %h = A => 123 > > > > {A => 123} > > > > > > -y > > Hi Yary, > > Updated and awesome! Thank you! > > Is Int > > https://docs.raku.org/type/Int > Int objects store integral numbers of arbitrary size > > one of those "Magic" variables that is unbounded, meaning > I can have a 1024 bit integer if I choose? > > -T > -- Aureliano Guedes skype: aureliano.guedes contato: (11) 94292-6110 whatsapp +5511942926110