I was going to write a post asking how to do this, but it turns out it just 
works.  So instead I am posting to say how awesome you guys are.  Thanks!

julia> function baz()
           function qux(a)
               "generic"
           end
           function qux(a::Uint8)
               "Uint8"
           end
           qux
       end
baz (generic function with 1 method)

julia> baz()("a")
"generic"

julia> baz()(0x1)
"Uint8"


Reply via email to