-
Notifications
You must be signed in to change notification settings - Fork 46
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
Document what doc comments/docstrings are good for #20
Comments
A Documentation for built-in functions is also a good idea. One of those things I meant to get done at some point. |
Also, I was kind of thinking of looking into whether |
You could put the modules into the ketos binary, using some I think loading some modules by default in interactive mode is a great idea. |
I don't like the idea of building module files into the binary. It's a weird and surprising thing for a language interpreter to do. Perhaps the best solution for now is to define your own |
What about a KETOSPATH environment variable? Like Python is having. |
That is implemented already. It's |
As a start, I've pushed a commit that adds docstrings to system functions. So, there's that. |
The documentation tells you how to create doc comments, but it is not clear what they are good for. Maybe give a hint at how to use them?
It might make sense to have a function
help
that prints the documentation, like in Python. It would not be terribly useful at the moment, because it seems that the built-in functions and operators don't have docstrings.The text was updated successfully, but these errors were encountered: