Perfect, thanks!

> -----Original Message-----
> From: [email protected] [mailto:julia-
> [email protected]] On Behalf Of Yichao Yu
> Sent: Friday, March 25, 2016 12:19 PM
> To: Julia Users <[email protected]>
> Subject: Re: [julia-users] Determine the module where a type is declared
> 
> On Fri, Mar 25, 2016 at 3:00 PM, David Anthoff <[email protected]>
> 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