The strings "int @", "str @" or "num @" do not occur anywhere in the documentation.
There is a https://docs.perl6.org/language/nativetypes section, but that appears to be geared towards use with NativeCall. While native arrays have a perfect use without having to use NativeCall or even know about it.
Suggestions
I'm not sure how to tackle this. The reason I found this, is because I was trying to find the place to document the :wrap named variable on the .sum method on native integer arrays (which is 20x as fast as without :wrap, but will wrap if the sum value exceeds 64bits).
The problem
The strings "int @", "str @" or "num @" do not occur anywhere in the documentation.
There is a https://docs.perl6.org/language/nativetypes section, but that appears to be geared towards use with
NativeCall
. While native arrays have a perfect use without having to useNativeCall
or even know about it.Suggestions
I'm not sure how to tackle this. The reason I found this, is because I was trying to find the place to document the
:wrap
named variable on the.sum
method on native integer arrays (which is 20x as fast as without:wrap
, but will wrap if the sum value exceeds 64bits).I will, for now, document it with List.sum.