Probably should add a note to the README that prepare-julia-env.bat
will rebuild the julia sysimg if it has been deleted (since all of the
jl files are included in the share directory).

On Thu, Mar 27, 2014 at 5:45 PM, Tim Holy <[email protected]> wrote:
> 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