You shouldn't have "using Distributions" or reload(Distributions) in your source file.
In ~/.julia/Distributions/src/Distributions.jl * Add an GPareto to an `exports` line * Add an `include(...)` like for gpd.jl If you look at that file, there are many similar lines, so it should be obvious what to do. The, in the REPL, when you do an "using Distributions" , you should have the GPareto symbol available Regards - Avik On Tuesday, 31 December 2013 14:44:07 UTC, Harry Southworth wrote: > > Hello. Once again, please be patient with my dumb questions as I find my > feet. > > I've forked Distributions and created a branch called gpd. On that branch > is a new script, gpd.jl. > > https://github.com/harrysouthworth/Distributions.jl/blob/gpd/src/univariate/gpd.jl > > I'm working in ~/.julia/Distributions and can see gpd.jl and the changes > I'm making to it. If I do reload("Distributions") and then try > wh = GPareto(0, 1, .1) > I get > ERROR: GPareto not defined. > > I'd be grateful of any pointers on what I'm doing wrong. > > Also, how to I get Julia to list the objects it can see inside a package? > > Thanks again, > Harry >
