As pointed out by Jameson previously, this works best (well, only) if you can guarantee that the object is in memory and not on the stack--for example, if the object was allocated by a C routine.
Cheers, Kevin On Sunday, May 31, 2015, <[email protected]> wrote: > Following up on an earlier discussion that I started in this newsgroup, I > have written a small package that provides a routine to modify a field of > an immutable object in the case that the object is inside a container. > Please refer to: > > https://github.com/StephenVavasis/Modifyfield.jl > > Feedback is welcome. > > >
