I 'm having troubles understanding how to package my functionality into modules. I have a general algorithm which is expressed using number of generic functions (which different types will later provide implementation for). I wanted to put this algo into a separate module. Here’s an example:
module General export algo algo(x) = internals(x) end module Specific export internals internals(x) = x end module Test using Main.General using Main.Specific algo(2) end
algo is expressed in terms of a generic function internals.
However , when executing Test I’m getting:
ERROR: UndefVarError: internals not defined Stacktrace:  algo(::Int64) at ./REPL:3  top-level scope at none:0
I must be missing something embarrassingly simple and fundamental. What am I doing wrong?