On Fri, Mar 25, 2016 at 3:00 PM, David Anthoff <anth...@berkeley.edu> wrote:
> Hi,
>
>
>
> I’m looking for a function that gives me back the module where a given type
> is declared. For example, if I call something like
>
>
>
> type_module(Float64)

Not an official API but `Float64.name.module`

>
>
>
> I’d like the function type_module to return the module where Float64 is
> defined. Essentially, I’m just looking for the equivalent of
> function_module, but for types instead of functions.
>
>
>
> Does such a function exist?
>
>
>
> Thanks,
>
> David
>
>
>
> --
>
> David Anthoff
>
> University of California, Berkeley
>
>
>
> http://www.david-anthoff.com
>
>

Reply via email to