Thanks Simon, way better, way more Julian.
-- Brian
On Saturday, September 24, 2016 at 5:12:52 PM UTC-7, Simon Danisch wrote:
>
> How about something like this:
>
> function showtypetree(T, level=0)
> println("\t" ^ level, T)
> for t in subtypes(T)
> (t != Any) && showtypetree(t,
How about something like this:
function showtypetree(T, level=0)
println("\t" ^ level, T)
for t in subtypes(T)
(t != Any) && showtypetree(t, level+1)
end
end
This is still not type stable, since *_subtype *seems to use untyped sets:
https://github.com/JuliaLang/julia/blob/m