REPL output for subtype of Function

julia> struct Foo <: Function end

julia> Base.show(io::IO, ::MIME"text/plain", ::Foo) = print(io, "Hello")

julia> Foo()
Hello
2 Likes