[julia-users] methods(...) showing keyword args?

2014-05-12 Thread Ethan Anderes
Is there a way to get methods(...) to print out the keyword arguments of a function and the default values? For example `methods(foo)` below doesn't display `par` as a keyword argument: ``` julia foo(x; par = 0) = x*par foo (generic function with 1 method) julia methods(foo) # 1 method for

Re: [julia-users] methods(...) showing keyword args?

2014-05-12 Thread Jameson Nash
Well, there's a pull request you can use locally: https://github.com/JuliaLang/julia/pull/5971 Jeff didn't like that it lists the methods twice, but doesn't count them twice, so he didn't want to merge it, and I haven't had time to fix it. On Mon, May 12, 2014 at 5:01 PM, Ethan Anderes

Re: [julia-users] methods(...) showing keyword args?

2014-05-12 Thread Ethan Anderes
@Jameson: Glad to know that functionality is in the works. Looking forward to it!