So the workflow should be to create a new branch inside
harry/.julia/Distributions and to constantly unload and reload the package
as I add functions.
If so, I use
reload("Distributions")
to detach and reattach it.
Does that sound about right?
Thanks again. I appreciate your patience.
Harry
On Monday, 30 December 2013 16:57:14 UTC, John Myles White wrote:
>
> You can import them all at once using importall Base, but I personally
> don’t like doing so since it lets you make mistakes you won’t catch for a
> long time.
>
> You might find it easier to implement your distribution inside of the main
> distributions package code, where all of the importing has already been
> handled for you. Just add a file to src/univariate/HARRYDIST.jl and then
> include it in the main file, src/Distributions.jl.
>
> — John
>
> On Dec 30, 2013, at 11:54 AM, Harry Southworth
> <[email protected]<javascript:>>
> wrote:
>
> > Thanks!
> >
> > import Base.rand
> >
> > worked.
> >
> > That appears to suggest that I also need to do
> > import Base.mean
> > and median, mode, and everything else. Which seems a bit clunky.
> >
> > Is there a simple way of importing them all at once, or is my workflow
> all wrong?
> >
> > Thanks again,
> > Harry
> >
> > On Monday, 30 December 2013 16:52:02 UTC, John Myles White wrote:
> > Hi Harry,
> >
> > Have you tried Base.rand? I think that’s sufficient and won’t raise this
> error.
> >
> > Welcome to Julia!
> >
> > — John
> >
> > On Dec 30, 2013, at 11:50 AM, Harry Southworth <[email protected]>
> wrote:
> >
> > > Hello.
> > >
> > > I'm a total noob to Julia, so please be gentle.
> > >
> > > I'm attempting to add a new distribution to the Distributions package.
> My intended workflow is to write the functions one by one and test them as
> I go along before attempting to build the package.
> > >
> > > When attempting to define rand for my new distribution, I get the
> ERROR in the subject line. Various attempts at things like "import
> Random.rand" have got me nowhere. I'd be grateful of advice on how to
> proceed.
> > >
> > > Thanks,
> > > Harry
> >
>
>