Wikipedia have an interesting article about “function object” (often called functor)
Otherwise there is no example for Julia.
Maybe someone could provide an example there?
I also noticed that https://github.com/lindahua/NumericFuns.jl provide functors… but it’s broken with Julia 0.6 see https://github.com/lindahua/NumericFuns.jl/issues/9
Any news about it?
PS: Sorry, I should have post there https://discourse.julialang.org/t/help-defining-functor-type/