You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using DocStringExtensions
"""$(TYPEDSIGNATURES)"""functionfunc(a::Integer, b::Integer= a; c::Integer= b)::Integer
a + b + c
end@doc func
gives
func(a::Integer) -> Integer
func(a::Integer, b::Integer; c) -> Integer
TYPEDSIGNATURES returns a simplified representation of method signatures, which, however, doesn't show the types and default values of keyword arguments. Is there a convenient way to also include them in the docstring?
The expected result is
func(a::Integer, b::Integer= a; c::Integer= b) -> Integer
The text was updated successfully, but these errors were encountered:
gives
TYPEDSIGNATURES
returns a simplified representation of method signatures, which, however, doesn't show the types and default values of keyword arguments. Is there a convenient way to also include them in the docstring?The expected result is
The text was updated successfully, but these errors were encountered: