How can I debug the docstrings not showing up in my REPL?
julia> """
Function Roger() prints Wilco
"""
"Function Roger() prints Wilco\n"
julia> function Roger()
println("Wilco")
end
Roger (generic function with 1 method)
julia> Roger()
Wilco
Now type ? at the julia> prompt to get into help:
help?> Roger
search: Roger RogersTanimoto rogerstanimoto ApproximateSignedRankTest FisherNoncentralHypergeometric PROGRAM_FILE RoundingMode
No documentation found.
Roger is a Function.
# 1 method for generic function "Roger":
[1] Roger() in Main at REPL[145]:1
You can also document an existing function with @doc:
julia> function Roger()
println("Wilco")
end
Roger (generic function with 1 method)
julia> @doc """
Function Roger() prints Wilco
""" Roger
Roger
help?> Roger
search: Roger PROGRAM_FILE RoundingMode
Function Roger() prints Wilco