We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This example:
say ^10 .head(5); # OUTPUT: «(0 1 2 3 4)» say ^∞ .head(5); # OUTPUT: «(0 1 2 3 4)» say ^10 .head; # OUTPUT: «0» say ^∞ .head; # OUTPUT: «0»
And the equivalent for tail use Ranges, not List. They actually be calling Any.head and Any.tail which, for the time being, are not documented.
Range
List
Any.head
Any.tail
Document Any.head and Any.tail, and fix those examples.
The text was updated successfully, but these errors were encountered:
Adds head, refs #1494 #2631
a1bc2eb
Rewrites examples and changes def of head, refs #2631
0e2a128
45a20b4
JJ
No branches or pull requests
The problem
This example:
And the equivalent for tail use
Range
s, notList
. They actually be callingAny.head
andAny.tail
which, for the time being, are not documented.Suggestions
Document
Any.head
andAny.tail
, and fix those examples.The text was updated successfully, but these errors were encountered: