JuliaLang/julia

Better documentation for `methods`

Open

#34.761 aperta il 14 feb 2020

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)Julia (5773 fork)batch import
docsgood first issue

Metriche repository

Star
 (48.709 star)
Metriche merge PR
 (Merge medio 20g 6h) (157 PR mergiate in 30 g)

Descrizione

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.

Guida contributor