-
Notifications
You must be signed in to change notification settings - Fork 503
Better Closure Docs #1929
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
I can take a look at this. I will try to add some simple examples but with understandable explanations. |
I think that the main thing of the page is not to explain how to use each of the listed commands, but rather how they can be used in closures. I added a few examples in the documentation to exemplify how the closure can be used with 4 different commands. See #1928 |
Moving over to the website repo as this issue primarily discusses the organization or enhancements to the website/book documentation. |
I actually kind of disagree with adding this to the Language Reference manual. The purpose of the reference manual primarily is to properly explain each mentioned concept cleanly and correctly and only use examples to explain particular important concepts (e.g. that a closure captures values by value and closes over them so they aren't affect by the outer scope anymore) @NotTheDr01ds added those references to commands that interact with certain types from the I think in the language reference we should cross link those to the command reference but I would recommend collections of examples to rather be explained in the book or if its just examples (that are helpful) the cookbook |
@sholderbach That's fair. Would it be better to then link to the book for examples then, and move the examples there? I'm thinking from the new users perspective, they may not know where to look if different types of information can be found if it's not super clearly specced out early in the discovery process. |
Related problem
The docs have very little information on each subject. Just one tiny example.
Going through the closures section:
Common commands that can be used with a closure
None of these methods are explained in further detail. I have no idea what items does, what par-each does, group-by, explain, etc.
Describe the solution you'd like
Document each method as well as possible usages.
Describe alternatives you've considered
No response
Additional context and details
No response
The text was updated successfully, but these errors were encountered: