On Tue, 25 May 2021 15:16:03 +0000
Andy Bach <[email protected]> wrote:
> > However I had to use "Int" instead of "int":
> Ah, "int" is the "lower" level, native integer and "Int" is the raku.
> An "int" is immutable or something?
It's a bug in the REPL. The example from the documentation works when
fed to the compiler directly::
$ raku -e 'my int $x = 2⁶³-1;say ++$x;'
-9223372036854775808
--
Dakkar - <Mobilis in mobile>
GPG public key fingerprint = A071 E618 DD2C 5901 9574
6FE2 40EA 9883 7519 3F88
key id = 0x75193F88