Determine which module the function from Julia was exported from.

I am looking for a way to determine from which module a function from Julia was exported.

+4
source share
1 answer

You can use <function name>.env.moduleto get the name of the module from which it came.

Ref.

julia> sum.env.module
Base
+9
source

Source: https://habr.com/ru/post/1614315/


All Articles