Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs on typed arrays should mention that you can omit .new #1056

Closed
AlexDaniel opened this issue Dec 15, 2016 · 0 comments
Closed

Docs on typed arrays should mention that you can omit .new #1056

AlexDaniel opened this issue Dec 15, 2016 · 0 comments
Labels
NOTSPECCED need roast tests before documenting

Comments

@AlexDaniel
Copy link
Member

https://docs.perl6.org/language/list#index-entry-%5B_%5D_%28typed_array%29

<AlexDaniel> m: my @b := Array[Int].new(1, 2, 3); say @b
<camelia> rakudo-moar 9a3c35: OUTPUT«[1 2 3]␤»
<AlexDaniel> m: my @b := Array[Int](1, 2, 3); say @b
<camelia> rakudo-moar 9a3c35: OUTPUT«[1 2 3]␤»
@AlexDaniel AlexDaniel added the NOTSPECCED need roast tests before documenting label Dec 15, 2016
@JJ JJ closed this as completed in da5138a Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NOTSPECCED need roast tests before documenting
Projects
None yet
Development

No branches or pull requests

1 participant