JuliaLang/julia

Better documentation for `methods`

Open

#34 761 ouverte le 14 févr. 2020

Voir sur GitHub
 (11 commentaires) (0 réactions) (0 assignés)Julia (5 773 forks)batch import
docsgood first issue

Métriques du dépôt

Stars
 (48 709 stars)
Métriques de merge PR
 (Merge moyen 20j 6h) (157 PRs mergées en 30 j)

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.

Guide contributeur