-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
help for +=, .+, etcetera #33301
Comments
e.g. this works for import Base.BaseDocs.Keyword
for op in (:+, :-, :*, :/, ://, :\, :^, :÷, :%, :<<, :>>, :>>>, :|, :&, :⊻, :$)
@eval @doc $("`x $op= y` is a synonym for `x = x $op y`") $(Keyword(Symbol(op,"=")))
end (Had to use the special (There are also "dotted" update operators like |
Since things like Instead, it might be better to modify the |
(Removing the "good first issue" tag since getting into the guts of the documentation system like this is not very accessible to newbies.) |
We'll also want to document |
- add docstrings for .= and . - improve help prompt behavior on comment syntax - add help text for dotted and updating operators - remove `->` syntax from docstring for doc macro Fixes #33301.
- add docstrings for .= and . - improve help prompt behavior on comment syntax - add help text for dotted and updating operators - remove `->` syntax from docstring for doc macro Fixes #33301.
- add docstrings for .= and . - improve help prompt behavior on comment syntax - add help text for dotted and updating operators - remove `->` syntax from docstring for doc macro Fixes #33301.
- add docstrings for .= and . - improve help prompt behavior on comment syntax - add help text for dotted and updating operators - remove `->` syntax from docstring for doc macro Fixes JuliaLang#33301.
- add docstrings for .= and . - improve help prompt behavior on comment syntax - add help text for dotted and updating operators - remove `->` syntax from docstring for doc macro Fixes JuliaLang#33301.
- add docstrings for .= and . - improve help prompt behavior on comment syntax - add help text for dotted and updating operators - remove `->` syntax from docstring for doc macro Fixes #33301.
Operators like
+=
and dotted operators like.+
currently don't have any REPL help.The text was updated successfully, but these errors were encountered: