JuliaLang/julia

Better documentation for `methods`

Open

#34,761 创建于 2020年2月14日

在 GitHub 查看
 (11 评论) (0 反应) (0 负责人)Julia (5,773 fork)batch import
docsgood first issue

仓库指标

Star
 (48,709 star)
PR 合并指标
 (平均合并 20天 6小时) (30 天内合并 157 个 PR)

描述

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.

贡献者指南