I can get the module of an exported method like so:
```
julia> module BB 
       export B2, cc, f
       type B2
           a
       end
       f(x) = x+3
       cc = 5
       end

julia> using BB

julia> Base.function_module(f)
BB
```
How can I do the same for the datatype `B2` and the variable `cc`?  (as
a bonus, what about macros?)

Reply via email to