@ToddAndMargo: These are all explained in the Raku documentation. Long
story short:

"my \t" -- this is a RAW definition. You can use it to hold types, as in
this case.
".of" is a method for Parametric Roles. It generally returns a type
"??" is the trinary operator. (expr) ?? <true return> !! <false return>

If you are going to go further, please read the Raku documentation. These
are basic questions that are covered there in detail.

- Xliff

On Sun, Nov 27, 2022 at 8:42 PM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:

> Hi All,
>
> On
>
>
> https://github.com/salortiz/NativeHelpers-Blob/blob/master/lib/NativeHelpers/Blob.pm6
>
> Line 96
>
> my \t = ptr.of ~~ void ?? $type.of !! ptr.of;
>
>
> What is `\t`?
>
> What of `.of`
>
> What is `??`?
>
> What is `!!`
>
>
> Yours in confusion.
>
> -T
>

Reply via email to