Skip to content

Instantly share code, notes, and snippets.

@donaldh
Created May 12, 2020 15:16
Show Gist options
  • Save donaldh/78ed4d8a23b70a89d7df5d4669aac54b to your computer and use it in GitHub Desktop.
Save donaldh/78ed4d8a23b70a89d7df5d4669aac54b to your computer and use it in GitHub Desktop.
Proposed .gist output for multidim arrays
% ./rakudo-m -e 'say my int @a[2;100;100]'
[[[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
...]
[[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
[0 0 0 0 0 0 0 0 0 0 ...]
...]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment