-users
Subject: Re: [julia-users] Getting parameter names from Method
julia> mt=methods(randjump)
# 2 methods for generic function "randjump":
randjump(r::MersenneTwister, jumps::Integer) at random.jl:145
randjump(mt::MersenneTwister, jumps::Integer, jumppoly::AbstractString) at
day, November 4, 2016 3:54 PM
> > To: Julia Users >
> > Subject: Re: [julia-users] Getting parameter names from Method
> >
> > On Fri, Nov 4, 2016 at 6:31 PM, David Anthoff >
> > wrote:
> > > Is there a way to get the names of the parameters of a m
> To: Julia Users
> Subject: Re: [julia-users] Getting parameter names from Method
>
> On Fri, Nov 4, 2016 at 6:31 PM, David Anthoff
> wrote:
> > Is there a way to get the names of the parameters of a method from a
> > Method type instance on julia 0.5?
>
> Roughly:
On Fri, Nov 4, 2016 at 6:31 PM, David Anthoff wrote:
> Is there a way to get the names of the parameters of a method from a Method
> type instance on julia 0.5?
Roughly:
nargs tell you how many arguments the method accepts, the first one
being the object (function) being called.
The local variab