On Friday, January 29, 2016 at 12:26:20 PM UTC+1, Antoine Messager wrote:

> I forgot for the n-th time how to prevent a sampling from having two times 
> the same value. While I wrote the previous sentence I remembered, but it is 
> not my issue. I was wondering whether there is an option that would give 
> all the arguments that can be used in a already implemented function. This 
> could be useful as many documentations are not complete. I find *methods *not 
> very informative. Nowhere I can now that what I needed was: 
> *"replace=false"*
>  
>
>
Hi Antoine,

I don't think it's possible to query for keyword or optional arguments, 
according to the manual they are treated differently from positional 
arguments:
http://docs.julialang.org/en/release-0.4/manual/functions/#optional-arguments
http://docs.julialang.org/en/release-0.4/manual/methods/#man-note-on-optional-and-keyword-arguments

So it seems to me that only documentation or opening the code listed in the 
methods output could help here.

Cheers,

Bart

Reply via email to