Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,6 @@
my @array = <apple orange>;
say @array.elems; # 2
say elems @array; # 2
say + @array; # 2
say @array + 0; # 2

View file

@ -0,0 +1,4 @@
my @infinite = 1 .. Inf; # 1, 2, 3, 4, ...
say @infinite[5000]; # 5001
say @infinite.elems; # Throws exception "Cannot .elems a lazy list"