I definitively can understand and partially share some of these concerns/pain points. I’ll need to think a bit more about all of that.
For now let me point out two things that are incorrect:
First:
As written this is false. The local assignment in some_other_function does not overwrite the global curvature. In your case you must have done something differently.
Second:
This also seems wrong as written. In contrast to C include is not a macro replacing itself with the contents of another file but a function that evaluates some julia file. As such that Julia file needs to be syntactically correct. E.g. you cannot include the following:
module WontInclude
foo(x) = x^2
#no end for module