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
Special variable $¢
(Cursor) is not documented
#1760
Comments
Uhm..it also states that the match object and the cursor start the same in the beginning of the closure, but apparently I'm not able to get it:
Also I'm not sure if such variable has to be documented at all, since it seems to me a little too much "magical" and the documentation for the |
They might be useful in Grammars, for instance. So it might be necessary to document them, at least. However, it might also be necessary to find now what they actually do in the current implementation. |
It does not seem to move:
yields
Is it maybe a not-yet-implemented feature? |
In fact, Cursor is initalized like Match: https://github.com/rakudo/rakudo/blob/b07e7b1d0ffcafc1f9dfbb3d56eff59c8eaddbf8/src/core/Cursor.pm#L1 |
Or maybe even won't be implemented; https://github.com/rakudo/rakudo/blame/b07e7b1d0ffcafc1f9dfbb3d56eff59c8eaddbf8/src/core/Cursor.pm#L1 |
Hmm. Maybe this means that it should be removed or a deprecation warning added and then removed? If it's not documented/used anywhere. |
This variable does appear in a 6.c-errata test file. |
Behavior now is different, BTW:
|
Are we all satisfied with the docs? I thought |
No, it's not the same as |
Only https://design.perl6.org/S05.html mentions it.
The text was updated successfully, but these errors were encountered: