JuliaLang/julia

Better documentation for `methods`

Open

#34,761 opened on Feb 14, 2020

 (11 comments) (0 reactions) (0 assignees)Julia (5,773 forks)batch import
docsgood first issue

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (PR metrics pending)

Description

I believe methods should have a bit more of information, consider,

struct A end
methods(A)
struct B{T} end
methods(B)
methods(B{Int})
struct C{T}
    C(x) = new{Int}(0)
end
methods(C)

Basically the way that methods are collected / match isn’t well documented.

Contributor guide