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(category/monad,bitraversable): add module docstrings #1260 #1286
Conversation
See #1260 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. This is a good start, but I'm afraid the comments mean very little to me as is. Maybe a good place to start would be documentation for bitraversable.basic
? Could you take this opportunity to add declaration doc strings too?
Thanks for the additions, but I'd still like to see more. Right now I don't know what |
@robertylewis Before I add a docstring there, do you understand what |
Clarifying both would be very helpful! |
Would the new comment on |
What I would like from the module docs is to be able to understand the purpose of a file and if/how I might use its contents, without looking through the whole file itself. Some amount of back-referencing is unavoidable, e.g. the p-adic integers doc doesn't repeat everything about the p-adic numbers. But the more of this there is, the harder it is to read, and it shouldn't be necessary to look up external references to get the general idea of a mathlib file. I'm being picky here because this seems like a programming tool instead of/as well as a mathematical theory. This could be useful for people programming in Lean, but without clear explanations of what it does, they'd never know. |
…community#1260 (leanprover-community#1286) * docs(category/monad,bitraversable): add module docstrings * more docs * still more doc * doc about traversable
TO CONTRIBUTORS:
Make sure you have:
If this PR is related to a discussion on Zulip, please include a link in the discussion.
For reviewers: code review check list