-
Notifications
You must be signed in to change notification settings - Fork 43
Incomplete space/index iterator documentation #766
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
Comments
@pgulutzan I hope a user want to know about methods (s)he can use on this iterator object, not about luafun internals. I think that a sentence that :pairs() returns luafun iterator and the link to the luafun documentation ( https://luafun.github.io/index.html ) is enough. |
So what's the issue here? |
Yep, I think so. |
Okay. |
We again meet the situation, when a user highlights that he is unable to find a luafun method in the documentation. I propose:
The pages of the topic: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/pairs/ |
The task looks very similar to #2863 and other tables the developers added for connectors. @Totktonada, I'm appending the |
@Totktonada There're 80+ functions there https://luafun.github.io/genindex.html |
@veod32 luafun changes rarely. I don't think it will be a problem. |
Motivation
Methods space.pairs and index.pairs return an iterator that might be used with for-in loop, as stated in documentation. However there is no information about the structure and origin of the provided iterator (in both en and ru versions).
Suggestion
Please insert links to the luafun documentation, that describe iterator structure,
iterator_mt
metatable functions or at least mention that luafun methods are available to use.The text was updated successfully, but these errors were encountered: