`Vector{Function}` behaves strangely when length is one

f has type typeof(f) and a single-element vector chooses the most specific eltype typeof(f). You can use Function[f] or Any[f] to let more callables in.

3 Likes