Hi All, 

I'm trying to follow the workflow described here: 
http://julia.readthedocs.org/en/latest/manual/faq/ under the "How can I 
modify the declaration of a type/immutable in my session?"

section. 

I'm very very new to julia, this is one of the first programs I'm actually 
trying to write in julia. So I understand that I could be missing some very 
basic understanding here. 

So I have my program file in Julia Studio "load_balancer_sim.jl" It 
currently defines a type Fyle with some fields. When I restart the julia 
session and load the file I don't get errors. So I started a new session 
and defined a string with the file path in it so I could use 
"include(path_name)" instead of a long messy path. 

However, I made some minor change, and tried to use include(path_name) but 
it is giving me the "Invalid redefinition of constant Fyle" error. 

I thought the work-around described in the FAQ was supposed to solve this?

When I run whos(), I do see Fyle there as a DataType. Am I supposed to see 
this in whos()? Or is this supposed to be happening "behind" a module 
import? Am I supposed to add syntax to "load_balancer_sim.jl" to imply it 
is a module?

Hopefully some of this makes sense, thank you. 

Reply via email to