Hi,
when you want to add methods on Base module (like getindex, getfield...) 
you use "import Base.getindex" then write a new function with new types 
args.
for exemple to add methods in B.jl on functionA from A.jl
import A.functionA

function functionA(...)

end

Is what you were looking for?

Le dimanche 20 mars 2016 11:25:10 UTC+1, Andreas Lobinger a écrit :
>
> Hello colleagues,
>
> i remember a discussion about this, but maybe without conclusion and maybe 
> without the right keywords.
>
> Let's have module A (from package A.jl) with certain funcitionality and 
> maybe some types.
> Now module/package/code B.jl that somehow extends A with optional 
> functions. How to put these functions under the A. API?
> I'm pretty sure exports across modules don't work, but is there somewhere 
> some functionality on this?
>
> Wishing a happy day,
>         Andreas
>

Reply via email to