On 2/12/24 15:04, Will Coleda wrote:
On Mon, Feb 12, 2024 at 5:32 PM ToddAndMargo via perl6-users
<perl6-users@perl.org <mailto:perl6-users@perl.org>> wrote:
On 2/12/24 14:29, ToddAndMargo via perl6-users wrote:
>>> On Mon, Feb 12, 2024 at 3:24 PM ToddAndMargo via perl6-users
>>> <perl6-users@perl.org <mailto:perl6-users@perl.org>
<mailto:perl6-users@perl.org <mailto:perl6-users@perl.org>>> wrote:
>>
>>> Has .pl6 been renamed too?
>
> On 2/12/24 12:37, Will Coleda wrote:
> > Please see: https://docs.raku.org/language/filename-extensions
<https://docs.raku.org/language/filename-extensions>
> > <https://docs.raku.org/language/filename-extensions
<https://docs.raku.org/language/filename-extensions>>
> >
>
> Thank you! I saved it in my own documentation.
Interesting that the site calls Raku code a
"script". I wonder just exactly how many
thousands of lines of code I have to write before
I can officially call it a "program"?
Pull requests welcome, and if you have any specific notes about searches
that aren't working for you, please report them on
https://github.com/Raku/doc/issues <https://github.com/Raku/doc/issues>.
You can click on the edit icon on that doc page to easily submit a PR.
Hi Will,
Richard wrote me off line that the search had been updated
too, so I gave it the search I bombed out a month or so ago:
https://www.google.com/search?q=site%3Adocs.raku.org+unit32
Forth one down.
int8 (int8_t in C)
int16 (int16_t in C)
int32 (int32_t in C)
int64 (int64_t in C)
byte, uint8 (uint8_t in C)
uint16 (uint16_t in C)
uint32 (uint32_t in C)
uint64 (uint64_t in C)
num32 (float in C)
num64 (double in C)
Yippee!
Now to figure out why I was bombing on int32 (DWORD)
[2] > my uint32 $x = 2
2
[3] > my int32 $y = $x.int32
No such method 'int32' for invocant of type 'Int'. Did you mean 'Int'?
in block <unit> at <unknown file> line 1
in any <main> at
/opt/rakudo-pkg/bin/../share/perl6/runtime/perl6.moarvm line 1
in any <entry> at
/opt/rakudo-pkg/bin/../share/perl6/runtime/perl6.moarvm line 1
But this works:
[4] > my int32 $y = $x.Int
2
Hmmmmmmmm.
-T