> one of those "Magic" variables that is unbounded, meaning
> I can have a 1024 bit integer if I choose?

Yeah, and even a 1024-digit integer, or much larger, if so you wish.



Le jeu. 16 janv. 2020 à 04:28, ToddAndMargo via perl6-users <
perl6-us...@perl.org> a écrit :

> >> 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
>

Reply via email to