Extend julia module

Sergey
Tue, 03 Dec 2024 11:59:23 +0000
General Usage

Hi.
I try to understand modules in julia.
And cant figure out how to extend julia module.

Suppose i have a module:

module Test
   t :: Float64 = 0
end

how to add new function or variable to the module from another file (or even file with declared module)?

New module declaration will override the previous.

Thanks

8 posts - 5 participants