Functions from different modules with the same name

Unfortunately, this is one the pain points which will not go away (you may read Function name conflict: ADL / function merging? to get the standing point of the Julia creators on this issue).

You can use external packages though, which are trying to mitigate it, for example UsingMerge.jl. Unfortunately, it’s not in the general Registry yet, so one need to install it with

pkg> add git@github.com:jmichel7/UsingMerge.jl.git

Then you can add necessary functions through the @usingmerge macro

using UsingMerge
using AbstractAlgebra
@usingmerge Permutations: cycles

julia> p = perm"(1,2,3)"
(1,2,3)

julia> cycles(p)
Cycle Decomposition: (1,2,3)
4 Likes