If you just have one, relatively isolated function you want to modify, you may 
be able to do this:

julia> cat(3)
0-element Array{None,1}

julia> Base.cat(catdim::Integer) = "meow"
Warning: Method definition cat(Integer,) in module Base at abstractarray.jl:470 
overwritten in module Main at none:1.
cat (generic function with 5 methods)

julia> cat(3)
"meow"


But be warned that functions that have already been compiled against the 
function you're modifying will _not_ be re-compiled.

--Tim

On Thursday, March 27, 2014 02:30:26 PM Bob Cowdery wrote:
> I'm on Windows and the instructions look like its a bit of work to set up
> for a build which is why I was trying to avoid it. But if that's the only
> way I will bite the bullet.
> 
> On Thursday, March 27, 2014 8:01:01 PM UTC, Bob Cowdery wrote:
> > Is there any way to patch Julia? I wanted to try out a C DLL to dig out
> > the peer address and needed to patch socket.jl. I tried copying, renaming
> > and including it but just got a load of errors for my trouble. Is it
> > possible or is it a rebuild.
> > 
> > Bob

Reply via email to