Using Raku official documentation
This official documentation covers a variety of presentation styles. See the main /introduction and /reference pages for a list of documents in the following styles.
Note you can store an Array in a $ container and treat it as a single object.
my @a = 1, 2, 3;
@a»++;
say @a; # OUTPUT: «[2 3 4]»
Note on the last line, there is a comment, starting with # OUTPUT:, that shows what the example outputs. The output is wrapped in «» quotes and may include a , which is the Unicode character "Symbol for Newline", to indicate where in the actual output a literal newline would appear. («» quotes are also a valid quoting construct in Raku, but with special semantics.)