Thanks -- I see your point. Also I'm guessing that getting the constituent types for a Union type is not currently possible?
On Saturday, July 5, 2014 11:26:29 PM UTC-4, Stefan Karpinski wrote: > > methods(f) essentially gives you the full type of a generic function. As > you'll see from trying it on, say, the + function, this isn't as helpful as > you might imagine. > > > On Sat, Jul 5, 2014 at 10:52 PM, Sid <[email protected] <javascript:>> > wrote: > >> Is there a way in julia to find the complete type of a function or union? >> >> Currently if I use typeof on a function, It just returns Function and >> typeof on a union just returns UnionType. >> > >
